Skip to content

Commit b77d291

Browse files
committed
fix #1924: use storage.session in mv2-bg
1 parent 95891a6 commit b77d291

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/js/storage-util.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ const StorageExtras = {
88

99
export const chromeLocal =
1010
/*@__PURE__*/Object.assign(browser.storage.local, StorageExtras);
11-
/** @type {typeof import('chrome-types').chrome.storage.session} */
12-
export const chromeSession = __.MV3 &&
13-
/*@__PURE__*/Object.assign(chrome.storage.session, StorageExtras);
11+
export const chromeSession = chrome.storage.session;
1412
export const GET_KEYS = !!chromeLocal.getKeys;

0 commit comments

Comments
 (0)