mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Use readOnly (#7995)
This commit is contained in:
parent
d368464b7b
commit
fbfaa6eb10
@ -65,7 +65,7 @@ export default class AmountMaxButton extends Component {
|
||||
|
||||
return (
|
||||
<div className="send-v2__amount-max" onClick={buttonDataLoading || inError ? null : this.onMaxClick}>
|
||||
<input type="checkbox" checked={maxModeOn} />
|
||||
<input type="checkbox" checked={maxModeOn} readOnly />
|
||||
<div className={classnames('send-v2__amount-max__button', { 'send-v2__amount-max__button__disabled': buttonDataLoading || inError })}>
|
||||
{this.context.t('max')}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user