Skip to content

Commit

Permalink
Fix wrong logic
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Nov 1, 2023
1 parent 782d8f1 commit 6d241ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/auth/ProfileModal/ProfileModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,6 @@ function useHasPreviousGrillIdentity() {
)
const { data: grillProfile } = getProfileQuery.useQuery(grillAddress ?? '')
const hasPreviousIdentity =
grillAccountData?.evmAddress && grillProfile?.profileSpace?.content?.name
grillAccountData?.evmAddress || grillProfile?.profileSpace?.content?.name
return !!hasPreviousIdentity
}

0 comments on commit 6d241ce

Please sign in to comment.