Skip to content

Commit

Permalink
bugfix : gcTime in article page
Browse files Browse the repository at this point in the history
  • Loading branch information
Happhee committed Aug 30, 2024
1 parent f440b58 commit a521d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/article/remotes/prefetchArticleQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const prefetchArticleQuery = async ({
} else {
const { data } = await queryClient.fetchQuery({
...getArticleQueryOptions({ articleId }),
gcTime: 300,
});
articleInfo = data;
}
Expand Down

0 comments on commit a521d6b

Please sign in to comment.