diff --git a/app/calendar/CalendarEventPopover.jsx b/app/calendar/CalendarEventPopover.jsx index cbc2d42..8a3624b 100644 --- a/app/calendar/CalendarEventPopover.jsx +++ b/app/calendar/CalendarEventPopover.jsx @@ -14,7 +14,7 @@ import HomeworkName from "ui/HomeworkName.jsx"; export default class CalendarEventPopover extends Component { edit() { - var item = this.props.item; + const item = Object.assign({}, this.props.item); item.type = this.props.type; this.props.openModal("calendarEvent", item); }