From 7af4ef3760e9eabd6359e3450dcb93a432fd80fc Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 10 Jan 2026 18:36:34 +0100 Subject: [PATCH] return type --- frontend/src/ts/components/ScrollToTop.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;