pollination-react-io 1.62.3 → 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.
- package/build/index.esm.js +2 -6
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -49678,11 +49678,7 @@ var RunContent = function (_a) {
|
|
49678
49678
|
var _d = React.useState([]), currParams = _d[0], setCurrParams = _d[1];
|
49679
49679
|
var _e = React.useState([]), currFiles = _e[0], setCurrFiles = _e[1];
|
49680
49680
|
var _f = React.useState([]), currFolders = _f[0], setCurrFolders = _f[1];
|
49681
|
-
|
49682
|
-
React.useEffect(function () {
|
49683
|
-
setCurrData(inputData);
|
49684
|
-
isCloud && setReloader(function (prev) { return !prev; });
|
49685
|
-
}, [inputData]);
|
49681
|
+
React.useEffect(function () { return setCurrData(inputData); }, [inputData]);
|
49686
49682
|
React.useEffect(function () {
|
49687
49683
|
if (!currData || currData.length == 0)
|
49688
49684
|
return;
|
@@ -49710,7 +49706,7 @@ var RunContent = function (_a) {
|
|
49710
49706
|
setCurrParams(params);
|
49711
49707
|
setCurrFiles(files);
|
49712
49708
|
setCurrFolders(folders);
|
49713
|
-
}, [currData
|
49709
|
+
}, [currData]);
|
49714
49710
|
// const checkIfValidUUID = (str: string): boolean => {
|
49715
49711
|
// 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
|
49716
49712
|
// return regexExp.test(str)
|