You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useScrollToTop was added in #3007 to replace the ScrollToTop component. It's currently still used in 2 class components (ModulePageContent and SettingsContainer), which need to be converted to functional components before we can delete ScrollToTop.
This issue exists so that we remember to remove ScrollToTop the codebase.
Steps
Convert ModulePageContent and/or SettingsContainer to function components (both should be easy to convert).
Replace <ScrollToTop /> with a useScrollToTop() call.
Delete ScrollToTop from the codebase.
The text was updated successfully, but these errors were encountered:
useScrollToTop
was added in #3007 to replace theScrollToTop
component. It's currently still used in 2 class components (ModulePageContent
andSettingsContainer
), which need to be converted to functional components before we can deleteScrollToTop
.This issue exists so that we remember to remove
ScrollToTop
the codebase.Steps
ModulePageContent
and/orSettingsContainer
to function components (both should be easy to convert).<ScrollToTop />
with auseScrollToTop()
call.ScrollToTop
from the codebase.The text was updated successfully, but these errors were encountered: