pollination-react-io 1.73.4 → 1.73.6

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.
@@ -48817,6 +48817,7 @@ var StudyCard = function (_a) {
48817
48817
  */
48818
48818
  var _12 = useSWR(authUser && _study ? [projectOwner, projectName, _study.id] : undefined, fetchJob, {
48819
48819
  revalidateOnFocus: true,
48820
+ refreshWhenHidden: true,
48820
48821
  refreshInterval: stopRefresh ? undefined : interval,
48821
48822
  fallbackData: _study,
48822
48823
  errorRetryCount: 3,
@@ -49127,6 +49128,7 @@ var RunCard = function (_a) {
49127
49128
  */
49128
49129
  var _9 = useSWR(authUser && _run ? (!localRun ? [projectOwner, projectName, _run.id] : [_run.id, _run['subfolder']]) : undefined, localRun ? fetchLocalRun : fetchRun, {
49129
49130
  revalidateOnFocus: true,
49131
+ refreshWhenHidden: true,
49130
49132
  refreshInterval: stopRefresh ? undefined : interval,
49131
49133
  fallbackData: localRun ? undefined : _run,
49132
49134
  errorRetryCount: 3,
@@ -49818,18 +49820,20 @@ var FileCard = function (_a) {
49818
49820
  setIsInactive(true);
49819
49821
  setCurrFile(undefined);
49820
49822
  setCADintegration(undefined);
49823
+ setIsLoading(false);
49821
49824
  return;
49822
49825
  }
49823
49826
  res.blob()
49824
49827
  .then(function (blob) {
49825
49828
  setCurrFile(blob);
49826
49829
  setCADintegration(blob);
49830
+ setIsLoading(false);
49827
49831
  });
49828
49832
  })
49829
49833
  .catch(function (err) {
49830
49834
  console.error(err);
49831
- })
49832
- .finally(function () { return setIsLoading(false); });
49835
+ setIsLoading(false);
49836
+ });
49833
49837
  };
49834
49838
  var extension = useMemo(function () {
49835
49839
  if (!path)