diff --git a/src/components/RouteDisplay/SwapStep.tsx b/src/components/RouteDisplay/SwapStep.tsx index bd037edb..7e1c52a9 100644 --- a/src/components/RouteDisplay/SwapStep.tsx +++ b/src/components/RouteDisplay/SwapStep.tsx @@ -118,7 +118,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => { onError={onImageError} src={action.venue.logoUri} /> - {venue.prettyName} + {venue?.prettyName} {explorerLink && ( @@ -159,7 +159,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => { src={action.venue.logoUri} alt={action.venue.name} /> - {venue.prettyName} + {venue?.prettyName} {explorerLink && ( @@ -222,7 +222,7 @@ export const SwapStep = ({ action, actions, statusData }: SwapStepProps) => { onError={onImageError} src={action.venue.logoUri} /> - {venue.prettyName} + {venue?.prettyName} {explorerLink && ( diff --git a/src/constants/swap-venues.ts b/src/constants/swap-venues.ts index 2eca2fb2..4a813564 100644 --- a/src/constants/swap-venues.ts +++ b/src/constants/swap-venues.ts @@ -30,4 +30,7 @@ export const SWAP_VENUES: Record = { "terra-white-whale": { prettyName: "Terra White Whale", }, + "testnet-initia-dex": { + prettyName: "Testnet Initia DEX", + }, };