Skip to content

Commit cbd8b58

Browse files
committed
fix(exchange-rate): Fix the exchange rate assay display
1 parent 3e38e70 commit cbd8b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Swap.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default function Swap() {
118118
function getExchangeRate(decimal) {
119119
if (isValid) {
120120
const exchangeRate = (outputAmount / inputAmount).toFixed(decimal);
121-
return `Exchange rate: 1 ${inputPurse.description} = ${exchangeRate} ${outputPurse.description}`;
121+
return `Exchange rate: 1 ${inputPurse.assayId} = ${exchangeRate} ${outputPurse.assayId}`;
122122
}
123123
return '';
124124
}

0 commit comments

Comments
 (0)