init loading state

This commit is contained in:
Alex Holliday committed 2025-02-03 16:19:56 -08:00
1 parent 9e1dc92dbf
commit b20c87cabc
1 file changed
+1
@@ -10,6 +10,7 @@ const useCreateStatusPage = () => {
const [networkError, setNetworkError] = useState(false);
const createStatusPage = async ({ form }) => {
setIsLoading(true);
try {
await networkService.createStatusPage({ authToken, user, form });
return true;