Skip to content

Commit

Permalink
fix(exchange-rate): Fix the exchange rate assay display
Browse files Browse the repository at this point in the history
  • Loading branch information
jfparadis committed Nov 2, 2019
1 parent 3e38e70 commit cbd8b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Swap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function Swap() {
function getExchangeRate(decimal) {
if (isValid) {
const exchangeRate = (outputAmount / inputAmount).toFixed(decimal);
return `Exchange rate: 1 ${inputPurse.description} = ${exchangeRate} ${outputPurse.description}`;
return `Exchange rate: 1 ${inputPurse.assayId} = ${exchangeRate} ${outputPurse.assayId}`;
}
return '';
}
Expand Down

0 comments on commit cbd8b58

Please sign in to comment.