Skip to content

Commit

Permalink
fix(ui-ux): redirect of dxchf (#1866)
Browse files Browse the repository at this point in the history
* fix(ui-ux): redirect of dxchf

* fix mobile
  • Loading branch information
Pierre Gee authored Sep 8, 2023
1 parent 6fcbfdd commit 1df73f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/pages/dex/_components/PoolPairsCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function PoolPairsCards({
sortKey,
reverse: sortOrder === "desc",
}),
[poolPairsPrices, sortKey, sortOrder]
[poolPairsPrices, sortKey, sortOrder],
);

function changeSort(sortType: {
Expand Down Expand Up @@ -131,7 +131,8 @@ export function PoolPairsCard({
poolPair.displaySymbol.includes("dUSDC") ||
poolPair.displaySymbol.includes("dBTC") ||
poolPair.displaySymbol.includes("dETH") ||
poolPair.displaySymbol.includes("dEUROC")
poolPair.displaySymbol.includes("dEUROC") ||
poolPair.displaySymbol.includes("dXCHF")
? poolPair.displaySymbol
: poolPair.tokenA.displaySymbol
}`}
Expand Down
5 changes: 3 additions & 2 deletions src/pages/dex/_components/PoolPairsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function PoolPairsTable({
sortKey,
reverse: sortOrder === "desc",
}),
[poolPairsPrices, sortKey, sortOrder]
[poolPairsPrices, sortKey, sortOrder],
);

function changeSort(key: SortKeys): void {
Expand Down Expand Up @@ -94,7 +94,8 @@ export function PoolPairsTable({
data.poolPair.displaySymbol.includes("dUSDC") ||
data.poolPair.displaySymbol.includes("dBTC") ||
data.poolPair.displaySymbol.includes("dETH") ||
data.poolPair.displaySymbol.includes("dEUROC")
data.poolPair.displaySymbol.includes("dEUROC") ||
data.poolPair.displaySymbol.includes("dXCHF")
? data.poolPair.displaySymbol
: data.poolPair.tokenA.displaySymbol
}`,
Expand Down

0 comments on commit 1df73f1

Please sign in to comment.