Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial loading state should be false
  • Loading branch information
regalijan committed Mar 21, 2024
1 parent b22acae commit 2ba6bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/NewGameBan.tsx
Expand Up @@ -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",
Expand Down

0 comments on commit 2ba6bf3

Please sign in to comment.