Skip to content

Commit cc5b42b

Browse files
committed
fix(BrowserAccountStorage): Do not JSON.stringify data
because browser.storage.local does that for us and better Signed-off-by: Marcel Klehr <[email protected]>
1 parent cec5799 commit cc5b42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/browser/BrowserAccountStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class BrowserAccountStorage {
1818
let entry = await BrowserAccountStorage.getEntry(entryName, defaultVal)
1919
entry = fn(entry)
2020

21-
await browser.storage.local.set({ [entryName]: JSON.stringify(entry) })
21+
await browser.storage.local.set({ [entryName]: entry })
2222
})
2323
}
2424

0 commit comments

Comments
 (0)