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