Explorar o código

Use PaymentContextValue type instead of direct boolean (#23185)

GitOrigin-RevId: 2e1af64a40a4b98f84fbd7a024b1facd18e0fe90
M Fahru hai 1 ano
pai
achega
438bd76c61
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      services/web/types/subscription/payment-context-value.tsx

+ 3 - 1
services/web/types/subscription/payment-context-value.tsx

@@ -70,5 +70,7 @@ export type PaymentContextValue = {
   userCanNotStartRequestedTrial: boolean
   showStudentConfirmation: boolean
   studentConfirmationChecked: boolean
-  setStudentConfirmationChecked: React.Dispatch<React.SetStateAction<boolean>>
+  setStudentConfirmationChecked: React.Dispatch<
+    React.SetStateAction<PaymentContextValue['studentConfirmationChecked']>
+  >
 }