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 7c4ac6c commit 031f72dCopy full SHA for 031f72d
src/datetime/DateTime.js
@@ -123,7 +123,7 @@ export default class Datetime extends React.Component {
123
124
renderView() {
125
if ( this.props.renderView ) {
126
- return this.props.renderView( this.state.currentView, () => this._renderCalendar() );
+ return this.props.renderView( this.state.currentView, this._renderCalendar );
127
}
128
return this._renderCalendar();
129
0 commit comments