diff --git a/src/components/Calendar.tsx b/src/components/Calendar.tsx index 6d72673..371b4af 100644 --- a/src/components/Calendar.tsx +++ b/src/components/Calendar.tsx @@ -25,16 +25,6 @@ class Calendar extends React.PureComponent { } render() { - let entries = this.props.entries.sort((a, b) => { - if (a.summary < b.summary) { - return -1; - } else if (a.summary > b.summary) { - return 1; - } else { - return 0; - } - }); - function eventPropGetter(event: EventType) { return { style: { @@ -51,7 +41,7 @@ class Calendar extends React.PureComponent { return (
{ this.props.onItemClick(event); }}