Skip to content

Commit

Permalink
fix: when null
Browse files Browse the repository at this point in the history
  • Loading branch information
williamluke4 committed Sep 27, 2024
1 parent bffdc7d commit 2b7e64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialogs/send-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const SendForm = (props: {
functionName: "transfer",
args: [
debouncedRecipientAddress,
parseUnits(debouncedAmount?.toString() ?? "", voucherDetails!.decimals!),
parseUnits(debouncedAmount?.toString() ?? "", voucherDetails?.decimals),
],
query: {
enabled: Boolean(
Expand Down

0 comments on commit 2b7e64a

Please sign in to comment.