Skip to content

Commit

Permalink
fix: remove isFetching as it caused render flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Jan 16, 2024
1 parent 6800c39 commit 6a00d9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit 6a00d9a

Please sign in to comment.