WalkingPal/walking-pal-web

chore: Refactor scroll-to-top button

Closed this issue · 4 comments

Description

It seems like the scroll-to-top button is being used on every page in the UI and it is repeated in every page file. I think it's better to have it in the App file instead of repeating it in every page file.

Hi, can I work on this issue?

@BobinMathew We are conditionally rendering Header and Footer components in app.pg.tsx.

Likewise I want you to do the same for scrollToTop button.

Have you gone through the PR ?
Is there any modifications required ?

Yea, I've made a comment.