feat: mutate profile page if successful change

This commit is contained in:
Kentai Radiquum 2024-09-20 14:35:51 +05:00
parent 61eb728442
commit 2d200b84f2
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 17 additions and 2 deletions

View file

@ -207,7 +207,7 @@ export const ProfilePage = (props: any) => {
)}
</div>
</div>
<ProfileEditModal isOpen={isOpen && isMyProfile} setIsOpen={setIsOpen} token={authUser.token} />
<ProfileEditModal isOpen={isOpen && isMyProfile} setIsOpen={setIsOpen} token={authUser.token} profile_id={user.id}/>
</>
);
};