Skip to content

Commit

Permalink
fix wrong chainname (#5823)
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat authored Jun 6, 2024
1 parent 984fabe commit 60bffb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__swaps__/screens/Swap/components/ReviewPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function ReviewPanel() {

const unknown = i18n.t(i18n.l.swap.unknown);

const chainName = useDerivedValue(() => ChainNameDisplay[internalSelectedOutputAsset.value?.chainId ?? ChainId.mainnet]);
const chainName = useDerivedValue(() => ChainNameDisplay[internalSelectedInputAsset.value?.chainId ?? ChainId.mainnet]);

const minimumReceived = useDerivedValue(() => {
if (!SwapInputController.formattedOutputAmount.value || !internalSelectedOutputAsset.value?.symbol) {
Expand Down

0 comments on commit 60bffb1

Please sign in to comment.