diff --git a/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.tsx b/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.tsx index f9ae8a09..4362bf0b 100644 --- a/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.tsx +++ b/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.tsx @@ -35,7 +35,7 @@ const OwnerForm = ({ classes, onClose, onSubmit }) => { const handleSubmit = (values) => { onSubmit(values) } - const owners = (useSelector(safeOwnersSelector) as unknown) as SafeRecordProps['owners'] + const owners: SafeRecordProps['owners'] = useSelector(safeOwnersSelector) const ownerDoesntExist = uniqueAddress(owners.map((o) => o.address)) return (