diff options
Diffstat (limited to 'development/mock-dev.js')
-rw-r--r-- | development/mock-dev.js | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/development/mock-dev.js b/development/mock-dev.js index 4a3217a06..188c04678 100644 --- a/development/mock-dev.js +++ b/development/mock-dev.js @@ -8,8 +8,6 @@ * * This is a convenient way to develop and test the plugin * without having to re-open the plugin or even re-build it. - * - * To use, run `npm run mock`. */ const render = require('react-dom').render @@ -59,20 +57,12 @@ function updateQueryParams (newView) { } // -// CSS -// - -const MetaMaskUiCss = require('../ui/css') -const injectCss = require('inject-css') - -// // MetaMask Controller // const controller = new MetamaskController({ // User confirmation callbacks: showUnconfirmedMessage: noop, - unlockAccountMessage: noop, showUnapprovedTx: noop, platform: {}, // initial state @@ -101,9 +91,6 @@ function modifyBackgroundConnection (backgroundConnectionModifier) { actions._setBackgroundConnection(modifiedBackgroundConnection) } -var css = MetaMaskUiCss() -injectCss(css) - // parse opts var store = configureStore(firstState) @@ -147,10 +134,10 @@ function startApp () { }, }, [ h(Root, { - store: store, + store: store, }), ]), ] - ), container) + ), container) } |