diff --git a/src/figma-make/components/pages/dashboard/Dashboard.tsx b/src/figma-make/components/pages/dashboard/Dashboard.tsx index f6d12d79..8953ccf6 100644 --- a/src/figma-make/components/pages/dashboard/Dashboard.tsx +++ b/src/figma-make/components/pages/dashboard/Dashboard.tsx @@ -83,10 +83,7 @@ export function Dashboard() { dateFrom && dateTo ? `${DailyChecklistApi.basePath}/summary?date_from=${dateFrom}&date_to=${dateTo}&kandang_id=${kandangFilter === 'ALL' ? '' : kandangFilter}&category=${categoryFilter === 'ALL' ? '' : categoryFilter}` : '', - httpClientFetcher, - { - keepPreviousData: true, - } + httpClientFetcher ); const { options: kandangOptions, isLoadingOptions: isLoadingKandangs } = @@ -311,14 +308,14 @@ export function Dashboard() { {chartData?.map((entry, index) => ( ))} @@ -370,7 +367,7 @@ export function Dashboard() { {employeePerformance?.map((emp, index) => (