From 91ac4659829d61a51c2ee1797049b82832f341f4 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Fri, 29 May 2026 22:18:39 +0800 Subject: [PATCH] fix(web): use default profile query cache (#36832) --- web/features/account-profile/client.ts | 2 -- web/features/account-profile/server.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/web/features/account-profile/client.ts b/web/features/account-profile/client.ts index 636d3f8450..128cd5b20e 100644 --- a/web/features/account-profile/client.ts +++ b/web/features/account-profile/client.ts @@ -35,7 +35,5 @@ export const userProfileQueryOptions = () => }, } }, - staleTime: 0, - gcTime: 0, retry: (failureCount, error) => !isLegacyBase401(error) && failureCount < 3, }) diff --git a/web/features/account-profile/server.ts b/web/features/account-profile/server.ts index 8885f5f15f..ddd25246ef 100644 --- a/web/features/account-profile/server.ts +++ b/web/features/account-profile/server.ts @@ -75,7 +75,5 @@ export const serverUserProfileQueryOptions = () => }, } }, - staleTime: 0, - gcTime: 0, retry: false, })