Skip to content

Commit

Permalink
♻️ Set stale time to infinity for boards
Browse files Browse the repository at this point in the history
  • Loading branch information
injoonH committed Jun 3, 2024
1 parent 773fb7b commit 1a34c25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/queries/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const useBoards = () =>
useQuery({
queryKey: ["boards"],
queryFn: getBoards,
staleTime: Infinity,
});

export const useBoardBySlug = (slug: string) => {
Expand Down

0 comments on commit 1a34c25

Please sign in to comment.