Skip to content

Commit

Permalink
Fixed args in example for REGISTER_USER action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimpo79 committed May 9, 2020
1 parent 6d7bf55 commit 9dca4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const followUser = userId => ({
If the effect payload is something other than JSON you can pass the body and headers:

```js
const followUser = userId => ({
const followUser = (name, email) => ({
type: 'REGISTER_USER',
payload: { name, email },
meta: {
Expand Down

0 comments on commit 9dca4f9

Please sign in to comment.