chore: hide useless error info in login page (#27245)

This commit is contained in:
Joel 2025-10-22 11:20:31 +08:00 committed by GitHub
parent 9a8cf709ba
commit e1ca7a9bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ export const useIsLogin = () => {
gcTime: 0,
queryFn: async (): Promise<isLogin> => {
try {
await get('/account/profile', {
await get('/account/profile', {}, {
silent: true,
})
}