aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/example.js
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2018-10-13 13:27:14 +0800
committerHsuan Lee <hsuan@cobinhood.com>2018-12-10 18:16:38 +0800
commit764cd4533c55620e35a2ff57ef447f7b9955620b (patch)
tree62deb7a73afb46b62fecdce7c17ab7c949a71d9f /old-ui/example.js
parent7896e5f5c25add295ce4d9f7d97adc3ee69df48c (diff)
downloaddexon-wallet-764cd4533c55620e35a2ff57ef447f7b9955620b.tar.gz
dexon-wallet-764cd4533c55620e35a2ff57ef447f7b9955620b.tar.zst
dexon-wallet-764cd4533c55620e35a2ff57ef447f7b9955620b.zip
Complete onboarding flow
Diffstat (limited to 'old-ui/example.js')
-rw-r--r--old-ui/example.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/old-ui/example.js b/old-ui/example.js
index 4627c0e9..119a9ea7 100644
--- a/old-ui/example.js
+++ b/old-ui/example.js
@@ -1,6 +1,6 @@
const injectCss = require('inject-css')
-const MetaMaskUi = require('./index.js')
-const MetaMaskUiCss = require('./css.js')
+const DekuSanUi = require('./index.js')
+const DekuSanUiCss = require('./css.js')
const EventEmitter = require('events').EventEmitter
// account management
@@ -103,10 +103,10 @@ accountManager._didUpdate = function () {
var container = document.getElementById('app-content')
-var css = MetaMaskUiCss()
+var css = DekuSanUiCss()
injectCss(css)
-MetaMaskUi({
+DekuSanUi({
container: container,
accountManager: accountManager,
})