gantt-task-react-powern 0.5.4 → 0.5.5

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.
@@ -3275,16 +3275,6 @@ var Gantt = function Gantt(_ref) {
3275
3275
  }
3276
3276
  };
3277
3277
 
3278
- var hideAlert = function hideAlert() {
3279
- var checkbox = document.getElementById("alert-dismiss");
3280
- var alert = document.getElementById("alert-container");
3281
-
3282
- if (checkbox.checked) {
3283
- localStorage.setItem('hideCircularDepsAlert', 'true');
3284
- alert.style.display = "None";
3285
- }
3286
- };
3287
-
3288
3278
  var handleKeyDown = function handleKeyDown(event) {
3289
3279
  event.preventDefault();
3290
3280
  var newScrollY = scrollY;
@@ -3433,20 +3423,7 @@ var Gantt = function Gantt(_ref) {
3433
3423
  taskLabelRenderer: taskLabelRenderer,
3434
3424
  onMultiSelect: onMultiSelect
3435
3425
  };
3436
- return React.createElement("div", null, hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') !== 'true' && React.createElement("div", {
3437
- id: "alert-container",
3438
- className: styles$9.alertContainer + " " + styles$9.warning
3439
- }, React.createElement("input", {
3440
- type: "checkbox",
3441
- id: "alert-dismiss",
3442
- className: styles$9.alertDismissCheckbox,
3443
- onChange: hideAlert
3444
- }), React.createElement("label", {
3445
- htmlFor: "alert-dismiss",
3446
- className: styles$9.alertCloseButton
3447
- }, "\xD7"), React.createElement("div", {
3448
- className: styles$9.alertContent
3449
- }, React.createElement("p", null, "Critical path could not be displayed due to circular dependencies"))), React.createElement("div", {
3426
+ return React.createElement("div", null, React.createElement("div", {
3450
3427
  className: styles$9.wrapper,
3451
3428
  onKeyDown: handleKeyDown,
3452
3429
  tabIndex: 0,