diff --git a/src/features/Events/EventDisplay.tsx b/src/features/Events/EventDisplay.tsx index f8f4678..a586f47 100644 --- a/src/features/Events/EventDisplay.tsx +++ b/src/features/Events/EventDisplay.tsx @@ -92,6 +92,7 @@ export default function EventDisplayModal({ event.repetition ?? ({} as RepetitionObject) ); const [alarm, setAlarm] = useState(""); + const [busy, setBusy] = useState(""); const [eventClass, setEventClass] = useState(event?.class ?? "PUBLIC"); const [timezone, setTimezone] = useState(event?.timezone ?? "UTC"); const [newCalId, setNewCalId] = useState(event.calId); @@ -503,12 +504,10 @@ export default function EventDisplayModal({ is Busy - setTimezone(e.target.value) - } - > - {Object.keys(timezones).map((key) => ( - - {key} - - ))} - - Alarm - console.log(e.target.value) - } + onChange={(e) => setBusy(e.target.value)} > Free Busy