Skip to content

Commit

Permalink
fix(swap/Preview.vue): step based surchargeDirection
Browse files Browse the repository at this point in the history
  • Loading branch information
hassnian committed Nov 10, 2024
1 parent 4db3059 commit 21b362c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/swap/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ const stepDetailsMap: Partial<Record<SwapStep, StepDetails>> = {
surchargeTitle: 'swap.requestToken',
nextRouteName: 'prefix-swap-id-offer',
backRouteName: 'prefix-swap',
surchargeDirection: 'Send',
surchargeDirection: 'Receive',
},
[SwapStep.OFFERED]: {
title: 'swap.yourOffer',
surchargeTitle: 'swap.addToken',
nextRouteName: 'prefix-swap-id-review',
backRouteName: 'prefix-swap-id',
surchargeDirection: 'Receive',
surchargeDirection: 'Send',
},
}
Expand Down

0 comments on commit 21b362c

Please sign in to comment.