From 0bc7d7372cf4a6b3ca380c9fedf2912712449cb1 Mon Sep 17 00:00:00 2001 From: 4444dogs Date: Wed, 21 Sep 2022 19:58:39 -0600 Subject: [PATCH] fix: make flakes variable an any type --- src/pages/home/Home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home/Home.tsx b/src/pages/home/Home.tsx index f6c82ba1..34c15d29 100644 --- a/src/pages/home/Home.tsx +++ b/src/pages/home/Home.tsx @@ -51,9 +51,9 @@ export default observer(() => { state.settings.set("appearance:seasonal", !seasonalTheme); const isDecember = !isTouchscreenDevice && new Date().getMonth() === 11; - const isOctober = !isTouchscreenDevice && new Date().getMonth() === 9 + const isOctober = !isTouchscreenDevice && new Date().getMonth() === 9; const snowflakes = useMemo(() => { - const flakes = []; + const flakes: any[] = []; if (isDecember) { for (let i = 0; i < 15; i++) {