We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f53e0 commit adc4681Copy full SHA for adc4681
1 file changed
src/stores/preferences.ts
@@ -19,6 +19,11 @@ export type UserPreferencesState = {
19
theme: Theme
20
openLinksNewTab: boolean
21
onboardingCompleted: boolean
22
+ onboardingResult?: {
23
+ title: string
24
+ sources: string[]
25
+ tags: string[]
26
+ } | null
27
occupation: string | null
28
listingMode: ListingMode
29
promptEngine: string
@@ -244,6 +249,7 @@ export const useUserPreferences = create(
244
249
return {
245
250
...state,
246
251
onboardingCompleted: true,
252
+ occupation: state.onboardingResult?.title || '',
247
253
}
248
254
255
return state
0 commit comments