committed thy fucky wucky

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Ayase Minori 2023-09-11 05:26:49 +00:00 committed by GitHub
parent 89101c88ed
commit 07a479b20c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 (
<div class="px-4 py-8 mx-auto bg-[#9d88d3]">
<div class="max-w-screen-md mx-auto flex flex-col items-center justify-center">