فهرست منبع

Use PaymentContextValue type instead of direct boolean (#23185)

GitOrigin-RevId: 2e1af64a40a4b98f84fbd7a024b1facd18e0fe90
M Fahru 1 سال پیش
والد
کامیت
438bd76c61
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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']>
+  >
 }