mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-26 17:48:50 +00:00
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…
x
Reference in New Issue
Block a user