Skip to content

Commit

Permalink
fix: remove wrong check for amm providers section header (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeerbes authored Oct 2, 2024
1 parent ab48c33 commit 7810183
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/app/screens/swap/quotesModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,11 @@ function QuotesModal({
<StyledP typography="body_m" color="white_200">
{t('QUOTE_TITLE')}
</StyledP>
{ammProviders.length > 0 ||
(stxProviders.length > 0 && (
<Heading typography="headline_s" color="white_0">
{t('EXCHANGE')}
</Heading>
))}
{ammProviders.length > 0 && (
<Heading typography="headline_s" color="white_0">
{t('EXCHANGE')}
</Heading>
)}
{sortedAmmQuotes.map((amm) => (
<QuoteTile
key={amm.provider.name}
Expand Down

0 comments on commit 7810183

Please sign in to comment.