`_deps` is not used anymore in udapp

This bug has been introduced after we moved udapp to remix repository
pull/1/head
yann300 6 years ago committed by GitHub
parent 4a5bb07a9d
commit 327f33ec9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/ui/universal-dapp-ui.js

@ -197,7 +197,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) {
modalDialog('Confirm transaction', content,
{ label: 'Confirm',
fn: () => {
self.udapp._deps.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
self.udapp.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
// TODO: check if this is check is still valid given the refactor
if (!content.gasPriceStatus) {
cancelCb('Given gas price is not correct')

Loading…
Cancel
Save