hide EthValue if the method set does not require it
This commit is contained in:
parent
394a98b424
commit
df0562911e
|
@ -25,7 +25,7 @@ const EthValue = ({ onSetMax }) => {
|
|||
} = useField('selectedMethod', { value: true })
|
||||
const disabled = !ABIService.isPayable(method)
|
||||
|
||||
return (
|
||||
return disabled ? null : (
|
||||
<>
|
||||
<Row className={classes.fullWidth} margin="xs">
|
||||
<Paragraph color="disabled" noMargin size="md" style={{ letterSpacing: '-0.5px' }}>
|
||||
|
|
Loading…
Reference in New Issue