Stopped the isLoading after updating the profile
This commit is contained in:
@@ -130,6 +130,7 @@ export default function Home() {
|
||||
if (request.status === 200) {
|
||||
toast.success("Your profile has been updated!");
|
||||
mutateUser();
|
||||
setIsLoading(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user