@guillotinaweb/react-gmi 0.32.2 → 0.33.0

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.
@@ -9097,7 +9097,8 @@ function TabsPanel(_ref2) {
9097
9097
  currentTab = _ref2.currentTab,
9098
9098
  rightToolbar = _ref2.rightToolbar,
9099
9099
  _ref2$fallback = _ref2.fallback,
9100
- fallback = _ref2$fallback === void 0 ? FallbackTab : _ref2$fallback;
9100
+ fallback = _ref2$fallback === void 0 ? FallbackTab : _ref2$fallback,
9101
+ restProps = _objectWithoutPropertiesLoose(_ref2, ["tabs", "currentTab", "rightToolbar", "fallback"]);
9101
9102
 
9102
9103
  var _useLocation = useLocation(),
9103
9104
  location = _useLocation[0],
@@ -9126,6 +9127,7 @@ function TabsPanel(_ref2) {
9126
9127
  });
9127
9128
  };
9128
9129
 
9130
+ console.log('restProps', restProps);
9129
9131
  return jsxs("div", {
9130
9132
  className: "container",
9131
9133
  children: [jsxs("div", {
@@ -9155,9 +9157,9 @@ function TabsPanel(_ref2) {
9155
9157
  })]
9156
9158
  }), jsx("div", {
9157
9159
  className: "container",
9158
- children: jsx(CurrentComp, {
9160
+ children: jsx(CurrentComp, _extends({
9159
9161
  title: current
9160
- })
9162
+ }, restProps))
9161
9163
  })]
9162
9164
  });
9163
9165
  }
@@ -14518,7 +14520,7 @@ var Auth = /*#__PURE__*/function () {
14518
14520
  _proto.willExpire = function willExpire(expiration) {
14519
14521
  var now = new Date().getTime();
14520
14522
 
14521
- if (parseInt(expiration) * 1000 < now + 10 * 1000) {
14523
+ if (parseInt(expiration) < now + 10) {
14522
14524
  return true;
14523
14525
  }
14524
14526
 
@@ -14528,7 +14530,7 @@ var Auth = /*#__PURE__*/function () {
14528
14530
  _proto.isExpired = function isExpired(expiration) {
14529
14531
  var now = new Date().getTime();
14530
14532
 
14531
- if (parseInt(expiration) * 1000 > now) {
14533
+ if (parseInt(expiration) > now) {
14532
14534
  return false;
14533
14535
  }
14534
14536