From 8eb5dcae194223b3fd0321b50dc82f0eb7d33e36 Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Thu, 10 Jun 2021 10:19:51 -0700 Subject: [PATCH] Remove stable coin duplicates (#35) --- src/context/TokenList.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/context/TokenList.tsx b/src/context/TokenList.tsx index da2e174..023bb7a 100644 --- a/src/context/TokenList.tsx +++ b/src/context/TokenList.tsx @@ -43,10 +43,6 @@ export function TokenListContextProvider(props: any) { t.address === "So11111111111111111111111111111111111111112"; return isUsdxQuoted && !isSol; }) - .concat([ - tokenMap.get(USDC_MINT.toString()), - tokenMap.get(USDT_MINT.toString()), - ]); tokens.sort((a: TokenInfo, b: TokenInfo) => a.symbol < b.symbol ? -1 : a.symbol > b.symbol ? 1 : 0 );