aboutsummaryrefslogtreecommitdiffstats
path: root/development/mocker.js
diff options
context:
space:
mode:
Diffstat (limited to 'development/mocker.js')
-rw-r--r--development/mocker.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/mocker.js b/development/mocker.js
index 098d46c75..0656e66ea 100644
--- a/development/mocker.js
+++ b/development/mocker.js
@@ -9,13 +9,13 @@ const Selector = require('./selector')
const qs = require('qs')
let queryString = qs.parse(window.location.href.split('#')[1])
let selectedView = queryString.view || 'account detail'
+const firstState = states[selectedView]
+updateQueryParams(selectedView)
// CSS
const MetaMaskUiCss = require('../ui/css')
const injectCss = require('inject-css')
-const firstState = states[selectedView]
-updateQueryParams()
function updateQueryParams(newView) {
queryString.view = newView
@@ -54,6 +54,8 @@ render(
style: {
height: '500px',
width: '360px',
+ boxShadow: '2px 2px 5px grey',
+ margin: '20px',
},
}, [
h(Root, {