From a2d9c43fba49680d7553409a4f5013d3febd80e9 Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Fri, 6 Jul 2018 11:58:41 -0700 Subject: Various fixes from PR comments --- ui/app/components/modals/customize-gas/customize-gas.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/app/components/modals/customize-gas/customize-gas.component.js') 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 (
@@ -108,7 +108,7 @@ export default class CustomizeGas extends Component { />
- { !valid &&
{ errorMessage }
} + { !valid &&
{ t(errorKey) }
}
this.handleRevert()} -- cgit