diff --git a/webapp/src/app/home/home.component.ts b/webapp/src/app/home/home.component.ts index 5f719f83..4d69bcbe 100644 --- a/webapp/src/app/home/home.component.ts +++ b/webapp/src/app/home/home.component.ts @@ -27,7 +27,7 @@ export class HomeComponent { } query = injectQuery(() => ({ - queryKey: ['leaderboard'], + queryKey: ['leaderboard', { after: this.after, before: this.before }], queryFn: async () => lastValueFrom(this.leaderboardService.getLeaderboard(this.before, this.after)), gcTime: Infinity }));