Ensure store changes persist by calling save() after set()

This commit is contained in:
2026-02-21 17:18:32 +01:00
parent 81b92ed5df
commit e68cb85607

View File

@@ -16,6 +16,7 @@ export function useStore() {
console.log('setValue',key,value);
const store = await getStore();
await store.set(key, value);
await store.save();
};
const getValue = async <T>(key: string) => {