fix: remove eslint-disable comment for uninstalled react-hooks plugin (GRO-24)
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -200,9 +200,7 @@ export function ReportsPage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => { loadAll(); }, []); // run on mount only
|
||||||
loadAll();
|
|
||||||
}, []); // eslint-disable-line react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
function exportCsv(type: "revenue" | "appointments" | "services") {
|
function exportCsv(type: "revenue" | "appointments" | "services") {
|
||||||
const qs = buildQuery(fromDate, toDate, { type });
|
const qs = buildQuery(fromDate, toDate, { type });
|
||||||
|
|||||||
Reference in New Issue
Block a user