Skip to content

Commit

Permalink
remove TODO comments 😌
Browse files Browse the repository at this point in the history
  • Loading branch information
artursapek committed Oct 21, 2024
1 parent c6d49b4 commit cdb672c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions wormhole-connect/src/views/v2/Bridge/AmountInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ const AmountInput = (props: Props) => {
{isFetching ? (
<CircularProgress size={14} />
) : (
// TODO AMOUNT HACK... fix amount formatting in amount.Amount balance refactor
<Typography
fontSize={14}
textAlign="right"
Expand All @@ -174,7 +173,6 @@ const AmountInput = (props: Props) => {
disabled={isInputDisabled || !tokenBalance}
onClick={() => {
if (tokenBalance) {
// TODO: Remove this when useGetTokenBalances returns non formatted amounts
dispatch(setAmount(sdkAmount.display(tokenBalance)));
}
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function TokenItem(props: TokenItemProps) {
{props.isFetchingBalance ? (
<CircularProgress size={24} />
) : props.balance ? (
// TODO AMOUNT HACK... fix amount formatting in amount.Amount balance refactor
sdkAmount.display(sdkAmount.truncate(props.balance, 6))
) : (
''
Expand Down

0 comments on commit cdb672c

Please sign in to comment.