diff --git a/packages/demo-wallet-client/src/components/AnchorQuotesModal.tsx b/packages/demo-wallet-client/src/components/AnchorQuotesModal.tsx index acc1db87..a81a808b 100644 --- a/packages/demo-wallet-client/src/components/AnchorQuotesModal.tsx +++ b/packages/demo-wallet-client/src/components/AnchorQuotesModal.tsx @@ -18,8 +18,8 @@ interface AnchorQuotesModalProps { onSubmit: ( event: React.MouseEvent, quoteId?: string, - destinationAsset?: string, - sourceAsset?: string, + buyAssset?: string, + sellAsset?: string, ) => void; } diff --git a/packages/demo-wallet-client/src/components/Sep6/Sep6Deposit.tsx b/packages/demo-wallet-client/src/components/Sep6/Sep6Deposit.tsx index 670676ef..12cfd0d8 100644 --- a/packages/demo-wallet-client/src/components/Sep6/Sep6Deposit.tsx +++ b/packages/demo-wallet-client/src/components/Sep6/Sep6Deposit.tsx @@ -187,12 +187,12 @@ export const Sep6Deposit = () => { const handleSubmitWithQuotes = ( event: React.MouseEvent, quoteId?: string, - destinationAsset?: string, - sourceAsset?: string, + buyAsset?: string, + sellAsset?: string, ) => { event.preventDefault(); - if (!(quoteId && destinationAsset && sourceAsset && formData.amount)) { + if (!(quoteId && buyAsset && sellAsset && formData.amount)) { return; } @@ -201,8 +201,8 @@ export const Sep6Deposit = () => { ...formData, amount: formData.amount, quoteId, - destinationAsset, - sourceAsset, + destinationAsset: sellAsset, + sourceAsset: buyAsset, }), ); };