Skip to content

Commit

Permalink
remove undefined from success claim props
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jun 11, 2024
1 parent 7608567 commit 4246af1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/ClaimPage/SuccessClaim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { BurnRedeemOperation } from '@/store/operationStore';

interface SuccessClaimProps {
operation: BurnRedeemOperation;
symbol?: string;
decimals?: number;
symbol: string;
decimals: number;
}

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

if (!operation.outputAmount) return;
let { amountFormattedFull, amountFormattedPreview } = formatAmount(
Expand Down

0 comments on commit 4246af1

Please sign in to comment.