We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36e7010 + cdbdf5c commit 175243eCopy full SHA for 175243e
epictrack-web/src/components/reports/resourceForecast/ResourceForecast.tsx
@@ -351,7 +351,6 @@ export default function ResourceForecast() {
351
]
352
);
353
const fetchReportData = React.useCallback(async () => {
354
- setIsLoading(true);
355
try {
356
const reportData = await ReportService.fetchReportData(
357
REPORT_TYPE.RESOURCE_FORECAST,
@@ -360,7 +359,6 @@ export default function ResourceForecast() {
360
359
color_intensity: "25",
361
}
362
363
- setIsLoading(false);
364
if (reportData.status && reportData.status === 200) {
365
const data = reportData.data as never[];
366
data.forEach((element) => {
0 commit comments