diff options
migrate to new ui + provider
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r-- | app/scripts/popup.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js index 53dabeb33..03530ce66 100644 --- a/app/scripts/popup.js +++ b/app/scripts/popup.js @@ -1 +1,13 @@ -document.body.innerHTML = "real talk"
\ No newline at end of file +const MetaMaskUi = require('metamask-ui') +const MetaMaskUiCss = require('metamask-ui/css') +const injectCss = require('inject-css') + + +var container = document.getElementById('app-content') + +var css = MetaMaskUiCss() +injectCss(css) + +var app = MetaMaskUi({ + container: container, +}) |