Skip to content

Commit

Permalink
V1.0.1 feedback (#157)
Browse files Browse the repository at this point in the history
* fix underlying asset decimal calculation

* fix typo
  • Loading branch information
ben2x4 authored Feb 7, 2022
1 parent d0181a2 commit 765af61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/liquidity/components/ManageLiquidityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const ManageLiquidityCard = ({
const providedLiquidity = myReserve?.[0] > 0

const tokenAReserve = formatTokenBalance(
convertMicroDenomToDenom(myReserve[0], tokenB.decimals),
convertMicroDenomToDenom(myReserve[0], tokenA.decimals),
{ includeCommaSeparation: true }
)
const tokenBReserve = formatTokenBalance(
Expand Down
2 changes: 1 addition & 1 deletion features/swap/hooks/useTokenSwap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const useTokenSwap = ({
toast.custom((t) => (
<Toast
icon={<IconWrapper icon={<Valid />} color="valid" />}
title="Swap successfull!"
title="Swap successful!"
onClose={() => toast.dismiss(t.id)}
/>
))
Expand Down

0 comments on commit 765af61

Please sign in to comment.