Closed Kodylow closed 6 months ago
What happens if a user enters 0
into the "block confirmations" field?
there's a min check in the form element:
<NumberFormControl
labelText={t('set-config.block-confirmations')}
helperText={t('set-config.block-confirmations-help')}
warningText={t('set-config.block-confirmations-warning')}
recommendedMin={6}
min={1}
max={200}
value={blockConfirmations}
onChange={(value) => {
setBlockConfirmations(value);
}}
/>
fixes: https://github.com/fedimint/ui/issues/379