Skip to content

Commit

Permalink
fix: pool select do not use icons
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveVodrazka committed Dec 5, 2024
1 parent 6ae63ea commit 8fba854
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/TokenPairSelect/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from "react";
import { Pair, PairKey } from "../../classes/Pair";
import { PairBadge, PairNamedBadge, TokenNamedBadge } from "../TokenBadge";
import { PairNamedBadge, TokenNamedBadge } from "../TokenBadge";

import CaretDown from "./CaretDown.svg?react";
import { allSupportedTokens, Token } from "../../classes/Token";
Expand Down Expand Up @@ -128,8 +128,9 @@ export const PoolSelect = ({ pool, setPool }: PoolSelectProps) => {
onClick={() => setIsOpen((prev) => !prev)}
>
<div className="flex items-center justify-between gap-2">
<PairBadge tokenA={pool.baseToken} tokenB={pool.quoteToken} />
<P3 className="font-semibold">{pool.typeAsText}</P3>
<P3 className="font-semibold">
{pool.baseToken.symbol}/{pool.quoteToken.symbol} {pool.typeAsText}
</P3>
<CaretDown />
</div>
</button>
Expand All @@ -144,8 +145,9 @@ export const PoolSelect = ({ pool, setPool }: PoolSelectProps) => {
onClick={() => handleClick(p)}
>
<div className="flex items-center gap-2">
<PairBadge tokenA={p.baseToken} tokenB={p.quoteToken} />
<P3 className="font-semibold">{p.typeAsText}</P3>
<P3 className="font-semibold">
{p.baseToken.symbol}/{p.quoteToken.symbol} {p.typeAsText}
</P3>
</div>
</li>
))}
Expand Down

0 comments on commit 8fba854

Please sign in to comment.