pollination-react-io 1.73.4 → 1.73.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 +4 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -49844,18 +49844,20 @@ var FileCard = function (_a) {
|
|
49844
49844
|
setIsInactive(true);
|
49845
49845
|
setCurrFile(undefined);
|
49846
49846
|
setCADintegration(undefined);
|
49847
|
+
setIsLoading(false);
|
49847
49848
|
return;
|
49848
49849
|
}
|
49849
49850
|
res.blob()
|
49850
49851
|
.then(function (blob) {
|
49851
49852
|
setCurrFile(blob);
|
49852
49853
|
setCADintegration(blob);
|
49854
|
+
setIsLoading(false);
|
49853
49855
|
});
|
49854
49856
|
})
|
49855
49857
|
.catch(function (err) {
|
49856
49858
|
console.error(err);
|
49857
|
-
|
49858
|
-
|
49859
|
+
setIsLoading(false);
|
49860
|
+
});
|
49859
49861
|
};
|
49860
49862
|
var extension = React.useMemo(function () {
|
49861
49863
|
if (!path)
|