diff --git a/src/routes/safe/components/AddressBook/CreateEditEntryModal/index.jsx b/src/routes/safe/components/AddressBook/CreateEditEntryModal/index.jsx index 7881028e..2c96554c 100644 --- a/src/routes/safe/components/AddressBook/CreateEditEntryModal/index.jsx +++ b/src/routes/safe/components/AddressBook/CreateEditEntryModal/index.jsx @@ -58,6 +58,13 @@ const CreateEditEntryModalComponent = ({ const addressBook = useSelector(getAddressBookListSelector) const addressBookAddressesList = getAddressesListFromAdbk(addressBook) const entryDoesntExist = uniqueAddress(addressBookAddressesList) + + const formMutators = { + setOwnerAddress: (args, state, utils) => { + utils.changeValue(state, 'address', () => args[0]) + }, + } + return ( - - {() => ( - <> - - - + + {(...args) => { + const mutators = args[3] + return ( + <> + + + + + + + + + + + + - - - - - - - - - - - )} + + ) + }} ) } -const CreateEditEntryModal = withStyles(styles)(CreateEditEntryModalComponent) - -export default CreateEditEntryModal +export default withStyles(styles)(CreateEditEntryModalComponent)