mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix merge conflicts
This commit is contained in:
parent
81f86cfab6
commit
aa08d1a09d
@ -403,6 +403,14 @@ App.prototype.renderDropdown = function () {
|
|||||||
closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }),
|
closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }),
|
||||||
onClick: () => { this.props.dispatch(actions.showInfoPage()) },
|
onClick: () => { this.props.dispatch(actions.showInfoPage()) },
|
||||||
}, 'Info/Help'),
|
}, 'Info/Help'),
|
||||||
|
|
||||||
|
h(DropdownMenuItem, {
|
||||||
|
closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }),
|
||||||
|
onClick: () => {
|
||||||
|
this.props.dispatch(actions.setFeatureFlag('betaUI', true, 'BETA_UI_NOTIFICATION_MODAL'))
|
||||||
|
.then(() => this.props.dispatch(actions.setNetworkEndpoints(BETA_UI_NETWORK_TYPE)))
|
||||||
|
},
|
||||||
|
}, 'Try Beta!'),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -462,11 +470,6 @@ App.prototype.renderPrimary = function () {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.seedWords) {
|
|
||||||
log.debug('rendering seed words')
|
|
||||||
return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'})
|
|
||||||
}
|
|
||||||
|
|
||||||
// show initialize screen
|
// show initialize screen
|
||||||
if (!props.isInitialized || props.forgottenPassword) {
|
if (!props.isInitialized || props.forgottenPassword) {
|
||||||
// show current view
|
// show current view
|
||||||
@ -501,6 +504,12 @@ App.prototype.renderPrimary = function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// show seed words screen
|
||||||
|
if (props.seedWords) {
|
||||||
|
log.debug('rendering seed words')
|
||||||
|
return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'})
|
||||||
|
}
|
||||||
|
|
||||||
// show current view
|
// show current view
|
||||||
switch (props.currentView.name) {
|
switch (props.currentView.name) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user