From 6a00d9a02a26eb468b92ed1490538bdf950deb92 Mon Sep 17 00:00:00 2001 From: Sampo Tawast Date: Tue, 16 Jan 2024 10:27:25 +0200 Subject: [PATCH] fix: remove isFetching as it caused render flicker --- .../handler/src/components/batchProcessing/useBatches.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/benefit/handler/src/components/batchProcessing/useBatches.ts b/frontend/benefit/handler/src/components/batchProcessing/useBatches.ts index d8fa5fb1bd..8cf44e75ca 100644 --- a/frontend/benefit/handler/src/components/batchProcessing/useBatches.ts +++ b/frontend/benefit/handler/src/components/batchProcessing/useBatches.ts @@ -68,7 +68,7 @@ const useBatchProposal = (filterByStatus: BATCH_STATUSES[]): BatchListProps => { }); } - const shouldShowSkeleton = query.isLoading || query.isFetching; + const shouldShowSkeleton = query.isLoading; const shouldHideList = Boolean(query.error) ||