mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
change global to window
This commit is contained in:
parent
2f135c2e68
commit
e64c64a049
@ -44,7 +44,7 @@ function rootReducer (state, action) {
|
||||
window.logState = function () {
|
||||
let state = window.METAMASK_CACHED_LOG_STATE
|
||||
const version = global.platform.getVersion()
|
||||
const browser = global.navigator.userAgent()
|
||||
const browser = window.navigator.userAgent()
|
||||
const platform = global.platform.getPlatformInfo()
|
||||
state.version = version
|
||||
state.platform = platform
|
||||
|
Loading…
Reference in New Issue
Block a user