From 72a13f8c74a8778aa3f912a0acd2593edb1f0f92 Mon Sep 17 00:00:00 2001 From: Mati Dastugue Date: Fri, 3 Jul 2020 14:48:18 -0300 Subject: [PATCH] Update name in props --- .../screens/ContractInteraction/EthAddressInput/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx index d846772f..0c11b16e 100644 --- a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx +++ b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx @@ -18,7 +18,7 @@ import { styles } from 'src/routes/safe/components/Balances/SendModal/screens/Co const useStyles = makeStyles(styles) -export interface AddressBookInputProps { +export interface EthAddressInputProps { isContract?: boolean isRequired?: boolean name: string @@ -32,7 +32,7 @@ const EthAddressInput = ({ name, onScannedValue, text, -}: AddressBookInputProps) => { +}: EthAddressInputProps) => { const classes = useStyles() const validatorsList = [isRequired && required, mustBeEthereumAddress, isContract && mustBeEthereumContractAddress] const validate = composeValidators(...validatorsList.filter((_) => _))