gantt-task-react-powern 0.4.21 → 0.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2348,8 +2348,8 @@ var HorizontalScroll = function HorizontalScroll(_ref) {
2348
2348
 
2349
2349
  var Gantt = function Gantt(_ref) {
2350
2350
  var tasks = _ref.tasks,
2351
- _ref$leafNodes = _ref.leafNodes,
2352
- leafNodes = _ref$leafNodes === void 0 ? [] : _ref$leafNodes,
2351
+ _ref$leafTasks = _ref.leafTasks,
2352
+ leafTasks = _ref$leafTasks === void 0 ? [] : _ref$leafTasks,
2353
2353
  _ref$headerHeight = _ref.headerHeight,
2354
2354
  headerHeight = _ref$headerHeight === void 0 ? 50 : _ref$headerHeight,
2355
2355
  _ref$columnWidth = _ref.columnWidth,
@@ -2520,7 +2520,7 @@ var Gantt = function Gantt(_ref) {
2520
2520
  viewMode: viewMode
2521
2521
  });
2522
2522
 
2523
- var _getCriticalPaths = getCriticalPaths(leafNodes),
2523
+ var _getCriticalPaths = getCriticalPaths(leafTasks),
2524
2524
  primaryPath = _getCriticalPaths[0],
2525
2525
  secondaryPath = _getCriticalPaths[1];
2526
2526