Skip to content

Commit

Permalink
add outputAmount check in succesClaim
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jun 11, 2024
1 parent 271016e commit 21e2909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/ClaimPage/SuccessClaim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface SuccessClaimProps {

export function SuccessClaim(args: SuccessClaimProps) {
const { operation, symbol, decimals } = args;

let { amountFormattedFull, amountFormattedPreview } = formatAmount(
operation.outputAmount,

Check failure on line 17 in src/pages/ClaimPage/SuccessClaim.tsx

View workflow job for this annotation

GitHub Actions / test

Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
decimals,
Expand Down

0 comments on commit 21e2909

Please sign in to comment.