Skip to content

Commit

Permalink
Updated PropTypes declaration of selected in EventRowMixin as well as…
Browse files Browse the repository at this point in the history
… the default propType of selected to be an object
  • Loading branch information
jasonleibowitz committed May 15, 2017
1 parent 877f4d9 commit 85071a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventRowMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
end: PropTypes.instanceOf(Date),
start: PropTypes.instanceOf(Date),

selected: PropTypes.array,
selected: PropTypes.object,
eventPropGetter: PropTypes.func,
titleAccessor: accessor,
allDayAccessor: accessor,
Expand All @@ -28,7 +28,7 @@ export default {

defaultProps: {
segments: [],
selected: [],
selected: {},
slots: 7
},

Expand Down

0 comments on commit 85071a9

Please sign in to comment.