mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Polyfill chrome.storage.sync
for Electron
`chrome.storage.sync` is not supported on Electron (https://www.electronjs.org/docs/api/extensions#chromestorage).
This commit is contained in:
parent
a094e3b42c
commit
894fbfc387
|
@ -87,6 +87,6 @@ if (window.isElectron) {
|
|||
};
|
||||
}
|
||||
|
||||
if (isFirefox) {
|
||||
if (isFirefox || window.isElectron) {
|
||||
chrome.storage.sync = chrome.storage.local;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user