Skip to content

Conversation

@codetheorem
Copy link
Member

Signed-off-by: Hrishikesh Agarwal [email protected]

Issue Number

fixes #30

Describe the changes you've made

I have added useReducer hook earlier there was useState hook being used for showing modal.

Describe if there is any unusual behavior (Any Warning) of your code(Write NA if there isn't)

NA

Additional context (OPTIONAL)

We can use store and remove useState where it is not required in the application.

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • The title of my pull request is a short description of the requested changes.

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.

Refactor Home.js using useReducer

1 participant