feat: reporting dashboard (closes #6) #30

Merged
ghost merged 2 commits from feat/reporting-dashboard into main 2026-03-17 21:33:33 +00:00
Showing only changes of commit ddd2ee2bbe - Show all commits
+1 -3
View File
@@ -200,9 +200,7 @@ export function ReportsPage() {
}
}
useEffect(() => {
loadAll();
}, []); // eslint-disable-line react-hooks/exhaustive-deps
useEffect(() => { loadAll(); }, []); // run on mount only
function exportCsv(type: "revenue" | "appointments" | "services") {
const qs = buildQuery(fromDate, toDate, { type });