Skip to content

Commit

Permalink
Update components/organisms/CreateSubdomainModalContent.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: caco.eth <49823133+FrancoAguzzi@users.noreply.github.com>
  • Loading branch information
eduramme and FrancoAguzzi authored Sep 5, 2024
1 parent 602c64e commit a160e78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/organisms/CreateSubdomainModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,7 @@ export const CreateSubdomainModalContent = ({
}
},
[CreateSubdomainModalSteps.ProfileSettings]: () => {
if (subdomainAddress === "" || isAddress(subdomainAddress)) {
return true;
} else {
return false;
}
return subdomainAddress === "" || isAddress(subdomainAddress);
},
[CreateSubdomainModalSteps.Confirmation]: () => true,
[CreateSubdomainModalSteps.Success]: () => true,
Expand Down

0 comments on commit a160e78

Please sign in to comment.