Skip to content

Commit

Permalink
fix: always set targetAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuditi committed Nov 15, 2023
1 parent 189ad28 commit 0bba0b5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ export class WalletDeeplinkComponent {
// Shimmer Network
const parameters = {
address: this.targetAddress,
baseCoinAmount:
this.tokenId && this.surplus ? Number(this.targetAmount).toFixed(0) : undefined,
baseCoinAmount: Number(this.targetAmount ?? 0).toFixed(0),
tokenId: this.tokenId,
tokenAmount: this.tokenId ? this.tokenAmount : undefined,
tag: WEN_NAME.toLowerCase(),
Expand Down

0 comments on commit 0bba0b5

Please sign in to comment.