From 09792f2af0abbf876b2aece33d58e9efb06bda5c Mon Sep 17 00:00:00 2001 From: shenlan Date: Fri, 21 Nov 2025 19:30:05 +0800 Subject: [PATCH] Ensure PayPal SDK is treated as loaded (#681) --- dashboard/src/components/billing/PayPalButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/billing/PayPalButtons.tsx b/dashboard/src/components/billing/PayPalButtons.tsx index 83e5278..d05e817 100644 --- a/dashboard/src/components/billing/PayPalButtons.tsx +++ b/dashboard/src/components/billing/PayPalButtons.tsx @@ -10,7 +10,7 @@ declare global { } } -type PayPalNamespace = typeof window.paypal +type PayPalNamespace = NonNullable type PayPalButtonsComponent = ReturnType['Buttons']>