Skip to content

Commit 141a194

Browse files
committed
chore: comments by coderabbitai
1 parent 6dc0261 commit 141a194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/hooks/queries/useTopStakedJurorsByCourt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export const useTopStakedJurorsByCourt = (
4141
) => {
4242
const { graphqlBatcher } = useGraphqlBatcher();
4343
return useQuery<TopStakedJurorsByCourtQuery>({
44-
queryKey: ["JurorsByCoherenceScore", courtId, skip, first, orderBy, orderDirection, search],
45-
staleTime: Infinity,
44+
queryKey: ["TopStakedJurorsByCourt", courtId, skip, first, orderBy, orderDirection, search],
45+
staleTime: 10 * 60 * 1000,
4646
queryFn: () =>
4747
graphqlBatcher.fetch({
4848
id: crypto.randomUUID(),

0 commit comments

Comments
 (0)