gantt-task-react-powern 0.5.5 → 0.5.6

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.
package/dist/index.js CHANGED
@@ -3020,10 +3020,6 @@ var Gantt = function Gantt(_ref) {
3020
3020
  lastTouchY = _useState14[0],
3021
3021
  setLastTouchY = _useState14[1];
3022
3022
 
3023
- var _useState15 = React.useState(false),
3024
- hasCircularDeps = _useState15[0],
3025
- setHasCircularDeps = _useState15[1];
3026
-
3027
3023
  React.useEffect(function () {
3028
3024
  if (scheduleType === "lookAhead" && startDate && endDate) {
3029
3025
  setDateSetup({
@@ -3072,16 +3068,6 @@ var Gantt = function Gantt(_ref) {
3072
3068
  primaryPath = _getCriticalPaths[0],
3073
3069
  secondaryPath = _getCriticalPaths[1];
3074
3070
 
3075
- if (leafTasks.length > 0 && primaryPath.length === 0 && secondaryPath.length === 0) {
3076
- setHasCircularDeps(true);
3077
- } else {
3078
- if (hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') === 'true') {
3079
- localStorage.removeItem('hideCircularDepsAlert');
3080
- }
3081
-
3082
- setHasCircularDeps(false);
3083
- }
3084
-
3085
3071
  uncolorAll(tasks);
3086
3072
 
3087
3073
  if (scheduleType !== "lookAhead") {