@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.cjs.js CHANGED
@@ -43319,12 +43319,14 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
43319
43319
  };
43320
43320
  React.useEffect(function () {
43321
43321
  time.timer = setTimeout(function () {
43322
- periscopeDataRequestFailure();
43322
+ if (!periscopeDataSuccess) {
43323
+ periscopeDataRequestFailure();
43324
+ }
43323
43325
  }, 10000);
43324
43326
  return function () {
43325
43327
  return clearTimeout(time.timer);
43326
43328
  };
43327
- }, []);
43329
+ }, [periscopeDataSuccess]);
43328
43330
 
43329
43331
  var Dashboard = function Dashboard(height) {
43330
43332
  return function (url) {