Skip to content

Commit

Permalink
fix: refresh can apply friends
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Feb 24, 2024
1 parent debf469 commit 7c6ca38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(app)/friends/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ const ApplyLinkInfo: FC = () => {
queryKey: ['can-apply'],
queryFn: () => apiClient.link.canApplyLink(),
initialData: true,
refetchOnMount: 'always',
})
const { present } = useModalStack()
if (!canApply) {
Expand Down

0 comments on commit 7c6ca38

Please sign in to comment.