diff --git a/src/renderer/src/store/index.ts b/src/renderer/src/store/index.ts index 249b11692..275bca4e2 100644 --- a/src/renderer/src/store/index.ts +++ b/src/renderer/src/store/index.ts @@ -9,7 +9,7 @@ store.use( // If set to true this tab tries to immediately recover the shared state from another tab. Defaults to true. initialize: true, // Enforce a type. One of native, idb, localstorage or node. Defaults to native. - type: 'localstorage', + type: window.BroadcastChannel ? 'native' : 'localstorage', }), );