Skip to content

Commit

Permalink
Checks undefined fromToken
Browse files Browse the repository at this point in the history
  • Loading branch information
abtestingalpha committed Dec 13, 2024
1 parent f948d4d commit 9e9afb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const HyperliquidTransactionButton = ({

const amount = stringToBigInt(
debouncedFromValue,
fromToken.decimals[fromChainId]
fromToken?.decimals[fromChainId]
)

const handleApprove = async () => {
Expand Down

0 comments on commit 9e9afb0

Please sign in to comment.