Skip to content

feat(nav): extended logout functionality to clear user data from redux #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2020

Conversation

ManishShiwlani
Copy link
Owner

@ManishShiwlani ManishShiwlani commented Apr 11, 2020

Feature Request: LogOut

Changes made to implement this feature

  1. A dispatch action handleLogout() has been called to clear the user data from redux.
  2. The onClick() function in the link component will redirect user to the login login page.

Helpful Resource
Redux documentation helped quite a bit in understanding dispatchActions property.

Closes Shift3#20

@ManishShiwlani ManishShiwlani merged commit 774d285 into master May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Log Out
1 participant