Skip to content

Commit 331e7d7

Browse files
ggilberthtimche
authored andcommitted
fix: ReadMe docs (tests) (#180)
* fix: readme docs - fix action so payload in expect is correct, as per createActions-test * style: aligning payload with meta!
1 parent 071aef1 commit 331e7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const { actionOne, actionTwo, actionThree } = createActions({
112112

113113
// array form
114114
ACTION_TWO: [
115-
(first) => first, // payload
115+
(first) => [first], // payload
116116
(first, second) => ({ second }) // meta
117117
],
118118

0 commit comments

Comments
 (0)