fix: profile edit issue

This commit is contained in:
Jannat Patel
2025-11-10 15:11:13 +05:30
parent 1173ac6504
commit c951732eb4
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ const editProfile = () => {
}
const isSessionUser = () => {
return $user.data?.email === profile.data?.email
return $user.data?.email === profile.data?.name
}
const currentUserHasHigherAccess = () => {