Now that actions are wrapped in hooks we can select data in them. This simplfies the calling code and reduces repetition.
Details
Details
- Reviewers
tomek michal varun - Commits
- rCOMM97e2dec68c52: [lib][web][native] Simplify logout call
Checked that it is possible to log out and back in with no errors showing up. Checked that invalidSessionDowngrade works correctly (by loggin out and back in before logoutActionTypes.success was dispatched)
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- inka/connectionIssue2
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
thanks for adding me as a reviewer! lgtm, but going to let someone else with more react expertise take a look
lib/actions/user-actions.js | ||
---|---|---|
102 | How about renaming it to e.g. const callKeyserverLogOut = useKeyserverCall(logOut); |