react-big-scheduler
react-big-scheduler copied to clipboard
ReferenceError: width is not defined
My code was working fine previously, all events shown and also resources. then suddenly this error occured. I dont know what is that. Also some
Scheduler.render C:/Users/HP/Desktop/proj/node_modules/react-big-scheduler/lib/index.js:320 317 | tbodyContent = _react2.default.createElement(_AgendaView2.default, this.props); 318 | } else { 319 | var resourceTableWidth = schedulerData.getResourceTableWidth();
320 | var schedulerContainerWidth = width - resourceTableWidth + 1; | ^ 321 | var schedulerWidth = schedulerData.getContentTableWidth() - 1; 322 | var DndResourceEvents = this.state.dndContext.getDropTarget(); 323 | var eventDndSource = this.state.dndContext.getDndSource(); View compiled