From 619ec16b6f0e13311055281a90bfee3efb5822fe Mon Sep 17 00:00:00 2001 From: samuelea Date: Wed, 18 Dec 2024 16:45:11 -0500 Subject: [PATCH] missing onClose callback --- packages/checkout/src/views/PaymentSelection/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/checkout/src/views/PaymentSelection/index.tsx b/packages/checkout/src/views/PaymentSelection/index.tsx index ff53b6b8..79f9eb24 100644 --- a/packages/checkout/src/views/PaymentSelection/index.tsx +++ b/packages/checkout/src/views/PaymentSelection/index.tsx @@ -217,7 +217,8 @@ export const PaymentSelectionContent = () => { onSuccess: () => { clearCachedBalances() onSuccess(txHash) - } + }, + onClose }) } catch (e) { console.error('Failed to purchase...', e)