From 39a2813bde7efcb11b3c8583a536720787c00cb2 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Wed, 13 Sep 2023 11:29:38 +0100 Subject: [PATCH] Stopped the isLoading after updating the profile --- src/pages/profile.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 4be2ac7b..9a75f8cb 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -130,6 +130,7 @@ export default function Home() { if (request.status === 200) { toast.success("Your profile has been updated!"); mutateUser(); + setIsLoading(false); return; }