Skip to content

Commit 26e7f16

Browse files
author
Vikas Agarwal
committed
fix: removed console error
1 parent 6fe2292 commit 26e7f16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ChallengeEditor/LastSaved-Display/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ const LastSavedDisplay = ({ timeLastSaved }) =>
1010
</div>
1111

1212
LastSavedDisplay.propTypes = {
13-
timeLastSaved: PropTypes.string.isRequired
13+
timeLastSaved: PropTypes.string
1414
}
1515
export default LastSavedDisplay

src/components/Track/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Track.defaultProps = {
2525
}
2626

2727
Track.propTypes = {
28-
type: PropTypes.object.isRequired,
28+
type: PropTypes.object,
2929
isActive: PropTypes.bool,
3030
disabled: PropTypes.bool,
3131
onUpdateOthers: PropTypes.func.isRequired

0 commit comments

Comments
 (0)