Skip to content

Commit

Permalink
Add testnet initia dex prettyName
Browse files Browse the repository at this point in the history
  • Loading branch information
wllmshao committed Mar 28, 2024
1 parent f6593cd commit 6ef7c51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RouteDisplay/SwapStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => {
onError={onImageError}
src={action.venue.logoUri}
/>
<span className="font-semibold text-black">{venue.prettyName}</span>
<span className="font-semibold text-black">{venue?.prettyName}</span>
</Gap.Child>
</Gap.Parent>
{explorerLink && (
Expand Down Expand Up @@ -159,7 +159,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => {
src={action.venue.logoUri}
alt={action.venue.name}
/>
<span className="font-semibold text-black">{venue.prettyName}</span>
<span className="font-semibold text-black">{venue?.prettyName}</span>
</Gap.Child>
</Gap.Parent>
{explorerLink && (
Expand Down Expand Up @@ -222,7 +222,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => {
onError={onImageError}
src={action.venue.logoUri}
/>
<span className="font-semibold text-black">{venue.prettyName}</span>
<span className="font-semibold text-black">{venue?.prettyName}</span>
</Gap.Child>
</Gap.Parent>
{explorerLink && (
Expand Down
3 changes: 3 additions & 0 deletions src/constants/swap-venues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ export const SWAP_VENUES: Record<string, SwapVenueConfig> = {
"terra-white-whale": {
prettyName: "Terra White Whale",
},
"testnet-initia-dex": {
prettyName: "Testnet Initia DEX",
},
};

0 comments on commit 6ef7c51

Please sign in to comment.