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.esm.js +0 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +0 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -55950,11 +55950,7 @@ var RunCard = function (_a) {
|
|
55950
55950
|
var _14 = useState(getDuration(run)), duration = _14[0], setDuration = _14[1];
|
55951
55951
|
useEffect(function () {
|
55952
55952
|
if (!run)
|
55953
|
-
return undefined;
|
55954
|
-
if (run.status.finished_at) {
|
55955
|
-
setDuration(getDuration(run));
|
55956
55953
|
return;
|
55957
|
-
}
|
55958
55954
|
var handle = setInterval(function () {
|
55959
55955
|
setDuration(getDuration(run));
|
55960
55956
|
}, 1000);
|