From 7c6ca3860d0e2d1e0744895cc4d2dc48ad8c0603 Mon Sep 17 00:00:00 2001 From: Innei Date: Sat, 24 Feb 2024 11:48:01 +0800 Subject: [PATCH] fix: refresh can apply friends Signed-off-by: Innei --- src/app/(app)/friends/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/(app)/friends/page.tsx b/src/app/(app)/friends/page.tsx index f334f4f329..abe40f6a3f 100644 --- a/src/app/(app)/friends/page.tsx +++ b/src/app/(app)/friends/page.tsx @@ -243,6 +243,7 @@ const ApplyLinkInfo: FC = () => { queryKey: ['can-apply'], queryFn: () => apiClient.link.canApplyLink(), initialData: true, + refetchOnMount: 'always', }) const { present } = useModalStack() if (!canApply) {