diff --git a/frontend/src/ts/components/ScrollToTop.tsx b/frontend/src/ts/components/ScrollToTop.tsx index e976e14ef..437386edf 100644 --- a/frontend/src/ts/components/ScrollToTop.tsx +++ b/frontend/src/ts/components/ScrollToTop.tsx @@ -9,7 +9,7 @@ export function hideScrollToTop(): void { } export function ScrollToTop(): JSXElement { - const handleScroll = () => { + const handleScroll = (): void => { const page = ActivePage.get(); if (page === "test") return;