fix owners typing
This commit is contained in:
parent
32598bbe87
commit
3858daf649
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue