Skip to content

Commit 08c2494

Browse files
prizefjquense
authored andcommitted
fix: proptype warnings (jquense#1084)
1 parent 2ca0226 commit 08c2494

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/EventCell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let propTypes = {
1616
accessors: PropTypes.object.isRequired,
1717
components: PropTypes.object.isRequired,
1818
getters: PropTypes.object.isRequired,
19-
localizer: PropTypes.object.isRequired,
19+
localizer: PropTypes.object,
2020

2121
onSelect: PropTypes.func,
2222
onDoubleClick: PropTypes.func,

src/Popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const propTypes = {
2626
localizer: PropTypes.object.isRequired,
2727
onSelect: PropTypes.func,
2828
onDoubleClick: PropTypes.func,
29-
slotStart: PropTypes.number,
29+
slotStart: PropTypes.instanceOf(Date),
3030
slotEnd: PropTypes.number,
3131
}
3232

0 commit comments

Comments
 (0)