Fixed the infinite loop issue on the reporting page by updating the data fetching logic to prevent repeated requests.
All checks were successful
Deploy Frontend / deploy (push) Successful in 23s
All checks were successful
Deploy Frontend / deploy (push) Successful in 23s
This commit is contained in:
@@ -92,7 +92,8 @@ export default function ReportingPage() {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetchReportingData();
|
fetchReportingData();
|
||||||
}, [fetchReportingData]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
const createMockData = () => {
|
const createMockData = () => {
|
||||||
setSummary({
|
setSummary({
|
||||||
|
|||||||
Reference in New Issue
Block a user