@dreamcommerce/aurora 2.17.22-20 → 2.17.22-21
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.
|
@@ -181,7 +181,7 @@ var XhrImagePicker = function XhrImagePicker(_ref) {
|
|
|
181
181
|
|
|
182
182
|
return (_pendingRequestRef$cu = pendingRequestRef.current) === null || _pendingRequestRef$cu === void 0 ? void 0 : _pendingRequestRef$cu.call(pendingRequestRef);
|
|
183
183
|
};
|
|
184
|
-
}, [
|
|
184
|
+
}, [initialFile]);
|
|
185
185
|
React.useEffect(function () {
|
|
186
186
|
var src = image !== null && image !== void 0 ? image : initialImage;
|
|
187
187
|
console.log('useEffect - image:', image);
|
|
@@ -172,7 +172,7 @@ var XhrImagePicker = function XhrImagePicker(_ref) {
|
|
|
172
172
|
|
|
173
173
|
return (_pendingRequestRef$cu = pendingRequestRef.current) === null || _pendingRequestRef$cu === void 0 ? void 0 : _pendingRequestRef$cu.call(pendingRequestRef);
|
|
174
174
|
};
|
|
175
|
-
}, [
|
|
175
|
+
}, [initialFile]);
|
|
176
176
|
useEffect(function () {
|
|
177
177
|
var src = image !== null && image !== void 0 ? image : initialImage;
|
|
178
178
|
console.log('useEffect - image:', image);
|