From 6e43b08dabea33ba8aa32ddabe080fa5a19e5fc8 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 30 May 2025 12:27:27 +0300 Subject: [PATCH] Typings for iCal state options --- frontend/src/Calendar/iCal/CalendarLinkModalContent.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/Calendar/iCal/CalendarLinkModalContent.tsx b/frontend/src/Calendar/iCal/CalendarLinkModalContent.tsx index aa90db301..b8c32cb60 100644 --- a/frontend/src/Calendar/iCal/CalendarLinkModalContent.tsx +++ b/frontend/src/Calendar/iCal/CalendarLinkModalContent.tsx @@ -22,7 +22,12 @@ interface CalendarLinkModalContentProps { function CalendarLinkModalContent({ onModalClose, }: CalendarLinkModalContentProps) { - const [state, setState] = useState({ + const [state, setState] = useState<{ + unmonitored: boolean; + premieresOnly: boolean; + asAllDay: boolean; + tags: number[]; + }>({ unmonitored: false, premieresOnly: false, asAllDay: false,