pollination-react-io 1.86.0 → 1.86.1

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/build/index.js CHANGED
@@ -55977,11 +55977,7 @@ var RunCard = function (_a) {
55977
55977
  var _14 = React.useState(getDuration(run)), duration = _14[0], setDuration = _14[1];
55978
55978
  React.useEffect(function () {
55979
55979
  if (!run)
55980
- return undefined;
55981
- if (run.status.finished_at) {
55982
- setDuration(getDuration(run));
55983
55980
  return;
55984
- }
55985
55981
  var handle = setInterval(function () {
55986
55982
  setDuration(getDuration(run));
55987
55983
  }, 1000);