We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10498ab commit 60afc6fCopy full SHA for 60afc6f
1 file changed
src/stores/preferences.ts
@@ -239,7 +239,12 @@ export const useUserPreferences = create(
239
const state = persistedState as unknown as UserPreferencesState &
240
UserPreferencesStoreActions
241
if (version === 0) {
242
- console.log('Migrating preferences_storage to version 1')
+ console.log('Migrating preferences_storage to version 1', state)
243
+
244
+ return {
245
+ ...state,
246
+ onboardingCompleted: true,
247
+ }
248
}
249
return state
250
},
0 commit comments