Skip to content

Commit 89d56a2

Browse files
committed
fix: use area: "sync" so keys are shared across UI pages
1 parent 1e3c59c commit 89d56a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/plasmo-global-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { Storage } from "@plasmohq/storage"
22

3-
export const plasmoGlobalStorage = new Storage()
3+
export const plasmoGlobalStorage = new Storage({ area: "sync" })

0 commit comments

Comments
 (0)