Clear storage after logout

This commit is contained in:
David Baker
2022-09-26 13:01:43 +01:00
parent b55aa12100
commit 6e91ec3a0e
2 changed files with 2 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ export async function initClient(
const storeOpts = {} as ICreateClientOpts;
if (indexedDB && localStorage && !import.meta.env.DEV) {
if (indexedDB && localStorage /*&& !import.meta.env.DEV*/) {
storeOpts.store = new IndexedDBStore({
indexedDB: window.indexedDB,
localStorage,