This commit is contained in:
oneao committed 2026-01-25 22:18:27 +08:00
1 parent 500fab7a80
commit 8f3f6982db
54 files changed
+2076 -1877

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ const useUserStore = create<UserState>()(
set({ userInfo: null, userSpace: null })
},
isLoggedIn: () => !!get().userInfo?.token,
isLoggedIn: () => Boolean(get().userInfo?.token),
}),
{
name: 'user-storage',