From 977e2f564821ae529797cbb0058fc35db25077c8 Mon Sep 17 00:00:00 2001 From: Connor Barr Date: Tue, 13 Aug 2024 19:41:49 +0100 Subject: [PATCH] fix: denom selection loading state --- packages/web/components/place-limit-tool/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/web/components/place-limit-tool/index.tsx b/packages/web/components/place-limit-tool/index.tsx index d4a1365d84..e22b1f7aea 100644 --- a/packages/web/components/place-limit-tool/index.tsx +++ b/packages/web/components/place-limit-tool/index.tsx @@ -493,10 +493,7 @@ export const PlaceLimitTool: FunctionComponent = observer( swapState.marketState.isFetchingNextPageAssets } isLoadingSelectAssets={ - // The getUserAssets query seems to return false to loading before finishing loading other pages - // so we add a check to prevent the loading state from being shown when there are at most 1 page of assets - swapState.marketState.isLoadingSelectAssets || - selectableBaseAssets.length <= 50 + swapState.marketState.isLoadingSelectAssets } data-testid="token-in" />