More work on reports. Added Funnel page.

This commit is contained in:
Mike Cao
2025-06-05 22:19:35 -07:00
parent 5159dd470f
commit 3847e32f39
59 changed files with 1815 additions and 2370 deletions

View File

@@ -7,10 +7,8 @@ export function useReportQuery(reportId: string) {
return useQuery({
queryKey: ['report', { reportId, modified }],
queryFn: (data: any) => {
return get(`/reports/${reportId}`, {
...data,
});
queryFn: () => {
return get(`/reports/${reportId}`);
},
enabled: !!reportId,
});