small planning fixes
This commit is contained in:
@@ -54,7 +54,7 @@ const Planning: React.FC<{
|
|||||||
: [];
|
: [];
|
||||||
const [eventSelected, setEventSelected] =
|
const [eventSelected, setEventSelected] =
|
||||||
useState<CalendarEventExternal | null>(null);
|
useState<CalendarEventExternal | null>(null);
|
||||||
const [eventStatus, setEventStatus] = useState<String>("Active")
|
const [eventStatus, setEventStatus] = useState<"Active" | "Inactive">("Active")
|
||||||
const [newEvent, setNewEvent] = useState<Omit<
|
const [newEvent, setNewEvent] = useState<Omit<
|
||||||
CalendarEventExternal,
|
CalendarEventExternal,
|
||||||
"id"
|
"id"
|
||||||
|
|||||||
Reference in New Issue
Block a user