Browse Source

Merge pull request #23149 from overleaf/mf-disable-paypal-submit-unchecked-student-confirm

[web] Disable paypal submit button if student confirmation checkbox is not checked

GitOrigin-RevId: 3c8ca624399e249a48ac0be48cb0c5c0b4170d30
M Fahru 1 year ago
parent
commit
33bbb32d07
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/web/types/subscription/payment-context-value.tsx

+ 2 - 0
services/web/types/subscription/payment-context-value.tsx

@@ -69,4 +69,6 @@ export type PaymentContextValue = {
   updateCountry: (country: PricingFormState['country']) => void
   userCanNotStartRequestedTrial: boolean
   showStudentConfirmation: boolean
+  studentConfirmationChecked: boolean
+  setStudentConfirmationChecked: React.Dispatch<React.SetStateAction<boolean>>
 }