Closed talihomz closed 6 years ago
Changed [getBlocksFulfilled]: (state, { payload }) => { return payload; }, to [getBlocksFulfilled]: (state, { payload }) => payload,
[getBlocksFulfilled]: (state, { payload }) => { return payload; },
[getBlocksFulfilled]: (state, { payload }) => payload,
#21
This improves readability of code.
Ran npm test and all tests passed successfully.
npm test
Awesome, thanks for your contribution @talihomz! 🎉
Description
Changed
[getBlocksFulfilled]: (state, { payload }) => { return payload; },
to[getBlocksFulfilled]: (state, { payload }) => payload,
Related Issue
#21
Motivation and Context
This improves readability of code.
How Has This Been Tested?
Ran
npm test
and all tests passed successfully.Screenshots (if appropriate):
Types of changes
Checklist: