mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Make it boolean
This commit is contained in:
parent
40515ab485
commit
f42922e28e
|
@ -2,7 +2,7 @@
|
|||
|
||||
window.isElectron =
|
||||
(window.navigator && window.navigator.userAgent.indexOf('Electron') !== -1) ||
|
||||
(window as any).__sizzy;
|
||||
!!(window as any).__sizzy;
|
||||
|
||||
const isFirefox = navigator.userAgent.indexOf('Firefox') !== -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user