From 2ba6bf3b234d94a1e60b9f0e69a468c6ca6c2fef Mon Sep 17 00:00:00 2001 From: Regalijan Date: Thu, 21 Mar 2024 12:57:14 -0400 Subject: [PATCH] Initial loading state should be false --- components/NewGameBan.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/NewGameBan.tsx b/components/NewGameBan.tsx index feefceb..25db730 100644 --- a/components/NewGameBan.tsx +++ b/components/NewGameBan.tsx @@ -26,7 +26,7 @@ import { useState } from "react"; export default function (props: { isOpen: boolean; onClose: () => void }) { const actionMap: { [k: string]: number } = {}; const [users, setUsers] = useState([] as string[]); - const [loading, setLoading] = useState(true); + const [loading, setLoading] = useState(false); const toast = useToast(); const fileTypes: { [k: string]: string } = { gif: "image/gif",