Skip to content

Commit

Permalink
Merge pull request #3034 from marmelab/fix-misleading-example
Browse files Browse the repository at this point in the history
[RFR] Fix misleading example about action creator usage
  • Loading branch information
Gildas Garcia authored Mar 21, 2019
2 parents ba37f00 + c0e7e2b commit a06a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const MyLogoutButton = ({ userLogout, ...rest }) => (
}
/>
);
export default connect(undefined, { userLogout: userLogout() })(MyLogoutButton);
export default connect(undefined, { userLogout })(MyLogoutButton);

// in src/App.js
import MyLoginPage from './MyLoginPage';
Expand Down

0 comments on commit a06a12f

Please sign in to comment.