We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de0f379 commit c5ccea0Copy full SHA for c5ccea0
lib/index.js
@@ -259,7 +259,7 @@ exports.default = _react2.default.createClass({
259
},
260
getInitialState: function getInitialState() {
261
if (this.props.value && this.props.defaultValue) {
262
- throw new Error("Conflicting DatePicker properties 'value' and 'defaultValue'");
+ throw new Error('Conflicting DatePicker properties \'value\' and \'defaultValue\'');
263
}
264
var state = this.makeDateValues(this.props.value || this.props.defaultValue);
265
if (this.props.weekStartsOnMonday) {
0 commit comments