diff options
Diffstat (limited to 'ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js')
-rw-r--r-- | ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js b/ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js index 8f23b22e0..a804f7b64 100644 --- a/ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js +++ b/ui/app/components/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js @@ -48,6 +48,7 @@ export default class GasModalPageContainer extends Component { newTotalFiat, gasChartProps, currentTimeEstimate, + insufficientBalance, }) { const { transactionFee } = this.props return ( @@ -60,6 +61,7 @@ export default class GasModalPageContainer extends Component { transactionFee={transactionFee} totalFee={newTotalFiat} gasChartProps={gasChartProps} + insufficientBalance={insufficientBalance} /> ) } @@ -139,7 +141,7 @@ export default class GasModalPageContainer extends Component { title={this.context.t('customGas')} subtitle={this.context.t('customGasSubTitle')} tabsComponent={this.renderTabs(infoRowProps, tabProps)} - disabled={false} + disabled={tabProps.insufficientBalance} onCancel={() => cancelAndClose()} onClose={() => cancelAndClose()} onSubmit={() => { |