mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
clean - code style
This commit is contained in:
parent
1458b8c68e
commit
4c390a6221
@ -1,13 +1,12 @@
|
||||
const assert = require('assert')
|
||||
const extend = require('xtend')
|
||||
const STORAGE_KEY = 'metamask-persistance-key'
|
||||
var configManagerGen = require('../lib/mock-config-manager')
|
||||
var configManager
|
||||
var testList
|
||||
const rp = require('request-promise')
|
||||
const nock = require('nock')
|
||||
var configManagerGen = require('../lib/mock-config-manager')
|
||||
const STORAGE_KEY = 'metamask-persistance-key'
|
||||
|
||||
describe('config-manager', function() {
|
||||
var configManager
|
||||
|
||||
beforeEach(function() {
|
||||
window.localStorage = {} // Hacking localStorage support into JSDom
|
||||
|
@ -432,10 +432,6 @@ App.prototype.renderPrimary = function () {
|
||||
return h(NoticeScreen, {key: 'NoticeScreen'})
|
||||
}
|
||||
|
||||
if (!props.noActiveNotices) {
|
||||
return h(NoticeScreen, {key: 'NoticeScreen'})
|
||||
}
|
||||
|
||||
// show current view
|
||||
switch (props.currentView.name) {
|
||||
case 'EthStoreWarning':
|
||||
|
Loading…
Reference in New Issue
Block a user