diff --git a/src/components/ReportForm.tsx b/src/components/ReportForm.tsx index 8cf7ae1..c435af5 100644 --- a/src/components/ReportForm.tsx +++ b/src/components/ReportForm.tsx @@ -18,6 +18,8 @@ export default function ReportForm() { useEffect(() => { if (status === "authenticated") { fetchReport(); + } else if (status === "unauthenticated") { + setLoading(false); } }, [status]);