diff --git a/packages/hoppscotch-common/src/pages/profile.vue b/packages/hoppscotch-common/src/pages/profile.vue index 71dc460d5e8..31aadb52611 100644 --- a/packages/hoppscotch-common/src/pages/profile.vue +++ b/packages/hoppscotch-common/src/pages/profile.vue @@ -252,7 +252,7 @@ const updateDisplayName = async () => { return } - if (probableUser.value?.displayName === displayName.value) { + if (currentUser.value?.displayName === displayName.value) { toast.error(`${t("error.same_profile_name")}`) return }