Skip to content

Commit

Permalink
feat(general-info-step.tsx): added check to disable continue when NaN
Browse files Browse the repository at this point in the history
closes #414
  • Loading branch information
aguzmant103 committed Mar 7, 2024
1 parent 59aea9c commit b3f9603
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ export default function GeneralInfoStep({
!group.type ||
!_groupName ||
(group.type === "off-chain" &&
_fingerprintDuration === undefined) ||
(group.type === "off-chain" && !_groupDescription) ||
(group.type === "off-chain" &&
_groupDescription.length < 10) ||
(_fingerprintDuration === undefined ||
Number.isNaN(_fingerprintDuration) ||
!_groupDescription ||
_groupDescription.length < 10)) ||
_fingerprintDuration < 0
}
variant="solid"
Expand Down

0 comments on commit b3f9603

Please sign in to comment.