codeforcauseorg / edu-client

Product focuses on 100% education as well as upskilling developing countries and rural areas.
https://educlient.codeforcause.org/
MIT License
128 stars 148 forks source link

Scroll to top on all the routes #381

Closed kushal98 closed 2 years ago

kushal98 commented 2 years ago

Issue Number

fixes #380

Describe the changes you've made I have added a ScrollToTop Component that helps user land to the top of page whenever the user navigate between routes.

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

NA

Additional context (OPTIONAL)

Test plan (OPTIONAL)

A good test plan should give instructions that someone else can easily follow.

Checklist

Abhishek-kumar09 commented 2 years ago

Thanks @kushal98 for your contribution.