Skip to content

Commit

Permalink
fix: proptype warnings (jquense#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
prizef authored and jquense committed Nov 3, 2018
1 parent 2ca0226 commit 08c2494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EventCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let propTypes = {
accessors: PropTypes.object.isRequired,
components: PropTypes.object.isRequired,
getters: PropTypes.object.isRequired,
localizer: PropTypes.object.isRequired,
localizer: PropTypes.object,

onSelect: PropTypes.func,
onDoubleClick: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion src/Popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const propTypes = {
localizer: PropTypes.object.isRequired,
onSelect: PropTypes.func,
onDoubleClick: PropTypes.func,
slotStart: PropTypes.number,
slotStart: PropTypes.instanceOf(Date),
slotEnd: PropTypes.number,
}

Expand Down

0 comments on commit 08c2494

Please sign in to comment.