mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Fix ReduxDevtools to work in Sizzy
This commit is contained in:
parent
4e061f4600
commit
40515ab485
|
@ -1,7 +1,8 @@
|
||||||
// Mock not supported chrome.* API for Firefox and Electron
|
// Mock not supported chrome.* API for Firefox and Electron
|
||||||
|
|
||||||
window.isElectron =
|
window.isElectron =
|
||||||
window.navigator && window.navigator.userAgent.indexOf('Electron') !== -1;
|
(window.navigator && window.navigator.userAgent.indexOf('Electron') !== -1) ||
|
||||||
|
(window as any).__sizzy;
|
||||||
|
|
||||||
const isFirefox = navigator.userAgent.indexOf('Firefox') !== -1;
|
const isFirefox = navigator.userAgent.indexOf('Firefox') !== -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user