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.
2 parents 4e880f2 + 7b47655 commit 8071a79Copy full SHA for 8071a79
src/DateTime.js
@@ -531,9 +531,8 @@ export default class Datetime extends React.Component {
531
* @public
532
*/
533
setViewDate( date ) {
534
- let me = this;
535
let logError = function() {
536
- return me.log( 'Invalid date passed to the `setViewDate` method: ' + date );
+ return log( 'Invalid date passed to the `setViewDate` method: ' + date );
537
};
538
539
if ( !date ) return logError();
0 commit comments