Просмотр исходного кода

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 год назад
Родитель
Сommit
33bbb32d07
1 измененных файлов с 2 добавлено и 0 удалено
  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
   updateCountry: (country: PricingFormState['country']) => void
   userCanNotStartRequestedTrial: boolean
   userCanNotStartRequestedTrial: boolean
   showStudentConfirmation: boolean
   showStudentConfirmation: boolean
+  studentConfirmationChecked: boolean
+  setStudentConfirmationChecked: React.Dispatch<React.SetStateAction<boolean>>
 }
 }