Fixed: Calendar defaultProps for statistics

Fixes #534
pull/504/head
Qstick 6 years ago
parent 002234f71b
commit ddf9e8bb01

@ -133,4 +133,10 @@ AgendaEvent.propTypes = {
longDateFormat: PropTypes.string.isRequired
};
AgendaEvent.defaultProps = {
statistics: {
percentOfTracks: 0
}
};
export default AgendaEvent;

@ -134,4 +134,10 @@ CalendarEvent.propTypes = {
onEventModalOpenToggle: PropTypes.func.isRequired
};
CalendarEvent.defaultProps = {
statistics: {
percentOfTracks: 0
}
};
export default CalendarEvent;

Loading…
Cancel
Save