diff --git a/src/ui/components/EditEvent.tsx b/src/ui/components/EditEvent.tsx index cdf6770..26077b1 100644 --- a/src/ui/components/EditEvent.tsx +++ b/src/ui/components/EditEvent.tsx @@ -187,12 +187,6 @@ export const EditEvent = ({ return ( <> -
-

- {open && } -

-
-

x)} /> -

-

+ setAllDay(e.target.checked)} - type="checkbox" - /> -

-

- - setIsRecurring(e.target.checked)} - type="checkbox" - /> + + setAllDay(e.target.checked)} + type="checkbox" + /> + + + + + setIsRecurring(e.target.checked)} + type="checkbox" + /> + +

{isRecurring && ( @@ -325,45 +325,61 @@ export const EditEvent = ({ )}

- - { - setIsTask(e.target.checked); - }} - type="checkbox" - /> -

- - {isTask && ( - <> - + - setComplete( - e.target.checked - ? DateTime.now().toISO() - : false - ) - } + id="task" + checked={isTask} + onChange={(e) => { + setIsTask(e.target.checked); + }} type="checkbox" /> - - )} + + + + {isTask && ( + <> + + + setComplete( + e.target.checked + ? DateTime.now().toISO() + : false + ) + } + type="checkbox" + /> + + + + )} +

+ {open && ( + + )} {deleteEvent && (