fix: concurrency

This commit is contained in:
2025-11-19 12:26:37 -07:00
parent e1396e2d24
commit 80e57eaa2b
19 changed files with 175 additions and 60 deletions

View File

@@ -16,8 +16,8 @@ export const useCurrentAuthenticatedUserStore = create<UserResponse & UserAction
sync: async () => {
const authUser = await GetCurrentUser()
set((state) => ({
...authUser,
...state
...state,
...authUser
}))
return authUser
},