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']>