diff --git a/src/component/calendar/Calendar.jsx b/src/component/calendar/Calendar.jsx index 4e66786..6b0de96 100644 --- a/src/component/calendar/Calendar.jsx +++ b/src/component/calendar/Calendar.jsx @@ -40,7 +40,7 @@ export default function Calendar(){ const handleAddNewEvent = () => { if(newEvent.title && newEvent.color){ const eventToAdd = {...newEvent} - setDefaultCategory(prev => ([...prev, eventToAdd])) + // setDefaultCategory(prev => ([...prev, eventToAdd])) setNewEvent({title: '', color: ''}) } }