Operator project fix

This commit is contained in:
2026-02-03 00:39:08 -06:00
parent 6124bedb8a
commit 23c3a19209

View File

@@ -101,7 +101,12 @@ export default function ConsumptionPage() {
};
useEffect(() => {
if (isOperator && !selectedProject) {
return;
}
loadData(1);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [selectedProject, startDate, endDate]);
const filteredReadings = useMemo(() => {