remove extra setIsLoading

This commit is contained in:
Alex Holliday committed 2025-02-04 15:26:07 -08:00
1 parent 3c6f3f08e1
commit e4de0874b1
1 file changed
-1
@@ -13,7 +13,6 @@ const useStatusPageDelete = (fetchStatusPage) => {
try {
setIsLoading(true);
await networkService.deleteStatusPage({ authToken });
setIsLoading(false);
fetchStatusPage?.();
return true;
} catch (error) {