gregnb/react-use-calendar

addEvent method is not adding, instead is replacing all the prev event...

arbadev opened this issue · 0 comments

`const {
time, note, city, label,
} = inputs;

const reminder = {
  startDate: time, endDate: time, note, city, label,
};

calendarActions.addEvent(reminder);`

despite of the startDate / endDate always replace the current event (never add)