fix owners typing

This commit is contained in:
fernandomg 2020-07-14 18:33:25 -03:00
parent 32598bbe87
commit 3858daf649
1 changed files with 1 additions and 1 deletions

View File

@ -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 (