Typings for iCal state options

This commit is contained in:
Bogdan 2025-05-30 12:27:27 +03:00 committed by Mark McDowall
parent 90c4791d5f
commit 6e43b08dab

View file

@ -22,7 +22,12 @@ interface CalendarLinkModalContentProps {
function CalendarLinkModalContent({ function CalendarLinkModalContent({
onModalClose, onModalClose,
}: CalendarLinkModalContentProps) { }: CalendarLinkModalContentProps) {
const [state, setState] = useState({ const [state, setState] = useState<{
unmonitored: boolean;
premieresOnly: boolean;
asAllDay: boolean;
tags: number[];
}>({
unmonitored: false, unmonitored: false,
premieresOnly: false, premieresOnly: false,
asAllDay: false, asAllDay: false,