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