remove uneeded reset

pull/3094/head
yann300 6 years ago
parent ea55ef237c
commit da2766cfe3
  1. 3
      src/universal-dapp-ui.js

@ -9,13 +9,10 @@ var css = require('./universal-dapp-styles')
var MultiParamManager = require('./multiParamManager') var MultiParamManager = require('./multiParamManager')
function UniversalDAppUI (udapp, opts = {}) { function UniversalDAppUI (udapp, opts = {}) {
var self = this
this.udapp = udapp this.udapp = udapp
self.el = yo`<div class=${css.udapp}></div>`
} }
UniversalDAppUI.prototype.reset = function () { UniversalDAppUI.prototype.reset = function () {
this.el.innerHTML = ''
} }
UniversalDAppUI.prototype.renderInstance = function (contract, address, contractName) { UniversalDAppUI.prototype.renderInstance = function (contract, address, contractName) {

Loading…
Cancel
Save