major refactor of the dashboard and react-openapi integration #1
@@ -15,7 +15,7 @@ export function useDashboardData(type: "expense" | "income") {
|
||||
// Fetch reports for aggregation
|
||||
const weeklyReport = useReportList({ period: "weekly", rolling: true });
|
||||
const monthlyReport = useReportList({ period: "monthly", rolling: true });
|
||||
const payeeReport = useReportList({ period: "weekly", rolling: true, group_by: "payee" });
|
||||
const payeeReport = useReportList({ period: "full", rolling: true, group_by: "payee" });
|
||||
|
||||
const isLoading =
|
||||
latestQuery.isLoading ||
|
||||
|
||||
Reference in New Issue
Block a user