Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui-ux): redirect of dxchf #1866

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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