From 8fba8547f13a8043ef17202260b5951972ee5eb4 Mon Sep 17 00:00:00 2001 From: DaveVodrazka Date: Thu, 5 Dec 2024 11:40:29 +0100 Subject: [PATCH] fix: pool select do not use icons --- src/components/TokenPairSelect/index.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/TokenPairSelect/index.tsx b/src/components/TokenPairSelect/index.tsx index 55ebaff..ef73e0d 100644 --- a/src/components/TokenPairSelect/index.tsx +++ b/src/components/TokenPairSelect/index.tsx @@ -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"; @@ -128,8 +128,9 @@ export const PoolSelect = ({ pool, setPool }: PoolSelectProps) => { onClick={() => setIsOpen((prev) => !prev)} >
- - {pool.typeAsText} + + {pool.baseToken.symbol}/{pool.quoteToken.symbol} {pool.typeAsText} +
@@ -144,8 +145,9 @@ export const PoolSelect = ({ pool, setPool }: PoolSelectProps) => { onClick={() => handleClick(p)} >
- - {p.typeAsText} + + {p.baseToken.symbol}/{p.quoteToken.symbol} {p.typeAsText} +
))}