fix(dashboard): actually lazy load reports

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-23 20:15:17 +02:00
parent 71794c802c
commit 2329982cd1
9 changed files with 12 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ export function ReportMapChart() {
const res = api.chart.chart.useQuery(report, {
keepPreviousData: true,
staleTime: 1000 * 60 * 1,
enabled: !isLazyLoading,
});
if (