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

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,
})
}