@thecb/components 6.1.1 → 6.1.2

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.esm.js CHANGED
@@ -43311,12 +43311,14 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
43311
43311
  };
43312
43312
  useEffect$1(function () {
43313
43313
  time.timer = setTimeout(function () {
43314
- periscopeDataRequestFailure();
43314
+ if (!periscopeDataSuccess) {
43315
+ periscopeDataRequestFailure();
43316
+ }
43315
43317
  }, 10000);
43316
43318
  return function () {
43317
43319
  return clearTimeout(time.timer);
43318
43320
  };
43319
- }, []);
43321
+ }, [periscopeDataSuccess]);
43320
43322
 
43321
43323
  var Dashboard = function Dashboard(height) {
43322
43324
  return function (url) {