diff --git a/src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/ThresholdForm/index.tsx b/src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/ThresholdForm/index.tsx index 5d2e1654..1f1ed973 100644 --- a/src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/ThresholdForm/index.tsx +++ b/src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/ThresholdForm/index.tsx @@ -40,8 +40,7 @@ export const ThresholdForm = ({ onClickBack, onClose, onSubmit, initialValues }: const handleSubmit = (values) => { onSubmit(values) } - const ownersAmount = owners?.size - const defaultThreshold = threshold > 1 && threshold === ownersAmount ? threshold - 1 : threshold + const defaultThreshold = threshold > 1 && threshold === ownersCount ? threshold - 1 : threshold return ( <>