Calendar: Fix navigating of month view (workaround big-calendar bug)

This is a workaround for:
https://github.com/intljusticemission/react-big-calendar/issues/718
master
Tom Hacohen 7 years ago
parent 56c12012fe
commit 4c441de728

@ -57,6 +57,7 @@ class Calendar extends React.PureComponent {
return ( return (
<div style={{width: '100%', height: 500}}> <div style={{width: '100%', height: 500}}>
<BigCalendar <BigCalendar
defaultDate={new Date()}
events={this.props.entries} events={this.props.entries}
selectable={true} selectable={true}
onSelectEvent={this.props.onItemClick as any} onSelectEvent={this.props.onItemClick as any}

Loading…
Cancel
Save