Skip to content

Commit

Permalink
fix: denom selection loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Aug 13, 2024
1 parent 9f1362c commit 977e2f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/web/components/place-limit-tool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,7 @@ export const PlaceLimitTool: FunctionComponent<PlaceLimitToolProps> = 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"
/>
Expand Down

0 comments on commit 977e2f5

Please sign in to comment.