Skip to content

Commit

Permalink
Merge pull request #408 from code-Gambler/dev
Browse files Browse the repository at this point in the history
Added Min Property to `Fingerprint Duration` input field
  • Loading branch information
vplasencia authored Mar 5, 2024
2 parents f0537b5 + e3a7ecd commit 9057ec7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default function GeneralInfoStep({
<Text>Fingerprint duration</Text>

<NumberInput
min={0}
size="lg"
value={_fingerprintDuration}
onChange={(value) =>
Expand Down Expand Up @@ -206,7 +207,8 @@ export default function GeneralInfoStep({
_fingerprintDuration === undefined) ||
(group.type === "off-chain" && !_groupDescription) ||
(group.type === "off-chain" &&
_groupDescription.length < 10)
_groupDescription.length < 10) ||
_fingerprintDuration < 0
}
variant="solid"
colorScheme="primary"
Expand Down

0 comments on commit 9057ec7

Please sign in to comment.