Open r2dliu opened 9 months ago
Looks like token is stored separately in the useAuth zustand store
But user model by default looks like
export const userShape = { ...baseModelShape, email: z.string().email(), firstName: z.string(), lastName: z.string(), token: readonly(z.string().nullable().optional()), interests: z.array(z.string()), }
looks to me like token should not really exist on the userShape anymore
Looks like token is stored separately in the useAuth zustand store
But user model by default looks like
looks to me like token should not really exist on the userShape anymore