andoncloud-workplaces-state-timelines-widget 1.0.3 → 1.0.4

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
@@ -33771,9 +33771,8 @@ var WidgetView = function WidgetView(_ref) {
33771
33771
  };
33772
33772
 
33773
33773
  React.useEffect(function () {
33774
- var currentDate = moment();
33775
-
33776
33774
  var updateCurrentShift = function updateCurrentShift() {
33775
+ var currentDate = moment();
33777
33776
  setCurrentShift(dist_48(currentDate, dist_52((data === null || data === void 0 ? void 0 : data.shifts) || [], currentDate)));
33778
33777
  };
33779
33778