This commit is contained in:
juampibermani 2021-06-07 16:13:24 -03:00
parent 27cf406181
commit a388e595c2
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ export const ThresholdForm = ({ onClickBack, onClose, onSubmit, initialValues }:
const handleSubmit = (values) => { const handleSubmit = (values) => {
onSubmit(values) onSubmit(values)
} }
const ownersAmount = owners?.size const defaultThreshold = threshold > 1 && threshold === ownersCount ? threshold - 1 : threshold
const defaultThreshold = threshold > 1 && threshold === ownersAmount ? threshold - 1 : threshold
return ( return (
<> <>