Skip to content

Commit

Permalink
Update zap fee
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwhisperer committed Oct 6, 2022
1 parent 106e44c commit e46995c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
"fees": {
"powered-by-portals": "Zaps powered by Portals.fi",
"powered-by-wido": "Zaps powered by joinwido.com",
"portals-zap-fee": "0.3%",
"wido-zap-fee": "0.2%",
"zaps": "Zap fee"
},
"from-iron-bank": "From Iron Bank",
Expand Down
8 changes: 7 additions & 1 deletion src/client/components/app/TransactionFees/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ export const TransactionFees = ({ zapService }: TransactionFeesProps) => {
<StyledIcon Component={InfoIcon} size="1.5rem" />
</Tooltip>
</Text>
<Text>0.3%</Text>
<Text>
{t(
zapService?.includes('portals')
? 'components.transaction.fees.portals-zap-fee'
: 'components.transaction.fees.wido-zap-fee'
)}
</Text>
</Row>
</Container>
);
Expand Down

0 comments on commit e46995c

Please sign in to comment.