소스 검색

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 년 전
부모
커밋
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
   userCanNotStartRequestedTrial: boolean
   showStudentConfirmation: boolean
+  studentConfirmationChecked: boolean
+  setStudentConfirmationChecked: React.Dispatch<React.SetStateAction<boolean>>
 }