Skip to content

Commit

Permalink
[bugs] pinia status missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed May 31, 2024
1 parent ca53884 commit da6107a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}),
);

Expand Down

0 comments on commit da6107a

Please sign in to comment.