From 07a479b20c1578bc6d7b2bae16f50ad60766f371 Mon Sep 17 00:00:00 2001 From: Ayase Minori Date: Mon, 11 Sep 2023 05:26:49 +0000 Subject: [PATCH] committed thy fucky wucky Signed-off-by: GitHub --- routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.tsx b/routes/index.tsx index f5c8d04..8881044 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -51,7 +51,7 @@ export const handler: Handlers = { export default function Home() { const hasClicked = useSignal(false); - const globalCount = useSignal(! getGlobalStatistics() ? getGlobalStatistics() : 0); + const globalCount = useSignal(!getGlobalStatistics() && isNaN(getGlobalStatistics()) ? getGlobalStatistics() : 0); return (