pollination-react-io 1.62.4 → 1.62.5

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.
@@ -49652,11 +49652,7 @@ var RunContent = function (_a) {
49652
49652
  var _d = useState([]), currParams = _d[0], setCurrParams = _d[1];
49653
49653
  var _e = useState([]), currFiles = _e[0], setCurrFiles = _e[1];
49654
49654
  var _f = useState([]), currFolders = _f[0], setCurrFolders = _f[1];
49655
- var _g = useState(false), reloader = _g[0], setReloader = _g[1];
49656
- useEffect(function () {
49657
- setCurrData(inputData);
49658
- !isCloud && setReloader(function (prev) { return !prev; });
49659
- }, [inputData]);
49655
+ useEffect(function () { return setCurrData(inputData); }, [inputData]);
49660
49656
  useEffect(function () {
49661
49657
  if (!currData || currData.length == 0)
49662
49658
  return;
@@ -49684,7 +49680,7 @@ var RunContent = function (_a) {
49684
49680
  setCurrParams(params);
49685
49681
  setCurrFiles(files);
49686
49682
  setCurrFolders(folders);
49687
- }, [currData, reloader]);
49683
+ }, [currData]);
49688
49684
  // const checkIfValidUUID = (str: string): boolean => {
49689
49685
  // const regexExp = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi
49690
49686
  // return regexExp.test(str)