store versioning

This commit is contained in:
FTCHD
2025-01-31 16:21:20 +02:00
parent 8a0ec0122d
commit 1864b3bb6d
+1
View File
@@ -115,6 +115,7 @@ export const usePersistedStore = create<PersistedState>()(
{
name: 'store',
storage: createJSONStorage(() => getStorage(store)),
version: 1,
}
)
)