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