diff options
Diffstat (limited to 'ui/app/components/modals/customize-gas')
-rw-r--r-- | ui/app/components/modals/customize-gas/customize-gas.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/modals/customize-gas/customize-gas.component.js b/ui/app/components/modals/customize-gas/customize-gas.component.js index cfaafd2b9..d17c290b6 100644 --- a/ui/app/components/modals/customize-gas/customize-gas.component.js +++ b/ui/app/components/modals/customize-gas/customize-gas.component.js @@ -75,7 +75,7 @@ export default class CustomizeGas extends Component { const { t } = this.context const { hideModal } = this.props const { gasPrice, gasLimit } = this.state - const { valid, errorMessage } = this.validate() + const { valid, errorKey } = this.validate() return ( <div className="customize-gas"> @@ -108,7 +108,7 @@ export default class CustomizeGas extends Component { /> </div> <div className="customize-gas__footer"> - { !valid && <div className="customize-gas__error-message">{ errorMessage }</div> } + { !valid && <div className="customize-gas__error-message">{ t(errorKey) }</div> } <div className="customize-gas__revert" onClick={() => this.handleRevert()} |