Skip to content

Commit

Permalink
Soulname mint flow condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Mar 2, 2023
1 parent 0779898 commit e718383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/masa-interface/masa-interface.tsx
Expand Up @@ -65,8 +65,8 @@ export const MasaInterface = ({
if (!identity?.identityId && scope?.includes('identity'))
return 'createIdentity';
if (
((identity?.identityId && !soulnames) ||
(soulnames && soulnames.length === 0)) &&
((!identity?.identityId && !soulnames) ||
(!identity?.identityId && soulnames && soulnames.length === 0)) &&
scope?.includes('soulname')
)
return 'createSoulname';
Expand Down

0 comments on commit e718383

Please sign in to comment.