From 438bd76c61d7924cd4e404fe779ce897a22908d0 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Thu, 30 Jan 2025 09:48:32 -0700 Subject: [PATCH] Use PaymentContextValue type instead of direct boolean (#23185) GitOrigin-RevId: 2e1af64a40a4b98f84fbd7a024b1facd18e0fe90 --- services/web/types/subscription/payment-context-value.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/types/subscription/payment-context-value.tsx b/services/web/types/subscription/payment-context-value.tsx index 0c57621d8b..cb0ce14c9f 100644 --- a/services/web/types/subscription/payment-context-value.tsx +++ b/services/web/types/subscription/payment-context-value.tsx @@ -70,5 +70,7 @@ export type PaymentContextValue = { userCanNotStartRequestedTrial: boolean showStudentConfirmation: boolean studentConfirmationChecked: boolean - setStudentConfirmationChecked: React.Dispatch> + setStudentConfirmationChecked: React.Dispatch< + React.SetStateAction + > }