Skip to content
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

Use of deprecated Hook #12

Open
VATSAL-IIT opened this issue Feb 3, 2022 · 3 comments
Open

Use of deprecated Hook #12

VATSAL-IIT opened this issue Feb 3, 2022 · 3 comments
Assignees

Comments

@VATSAL-IIT
Copy link

In Banner.js file useHistory hook is being used which is most likely deprecated and replaced by useNavigate hook in react-router-dom. Hence the file requires certain syntactical changes and code upgradation.

@VATSAL-IIT
Copy link
Author

I want to work on this issue.

@aman34503
Copy link
Owner

sure! but also one thing keep in mind, you cannot pass the navigation prop into the component directly!

@VATSAL-IIT
Copy link
Author

Sir the Banner component is not receiving any props, so can u please elaborate on the navigation prop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants