@dreamcommerce/aurora 2.23.2-3 → 2.23.2-4

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.
@@ -201,7 +201,7 @@ var XhrImagePicker = function XhrImagePicker(_ref) {
201
201
  allowedExtensions: allowedExtensions,
202
202
  initialFile: initialImageFile.current,
203
203
  onImageSizeUpdated: onImageSizeUpdated,
204
- topButtons: ImageEditor && imageExtenstion !== 'svg' && /*#__PURE__*/React__default['default'].createElement("button", {
204
+ topButtons: !!ImageEditor && imageExtenstion !== 'svg' && /*#__PURE__*/React__default['default'].createElement("button", {
205
205
  className: main_module['default'][css_classes['default'].imagePickerEditButton],
206
206
  onClick: function onClick() {
207
207
  return showModal(modalId);
@@ -193,7 +193,7 @@ var XhrImagePicker = function XhrImagePicker(_ref) {
193
193
  allowedExtensions: allowedExtensions,
194
194
  initialFile: initialImageFile.current,
195
195
  onImageSizeUpdated: onImageSizeUpdated,
196
- topButtons: ImageEditor && imageExtenstion !== 'svg' && /*#__PURE__*/React.createElement("button", {
196
+ topButtons: !!ImageEditor && imageExtenstion !== 'svg' && /*#__PURE__*/React.createElement("button", {
197
197
  className: styles[CSS_CLASSES.imagePickerEditButton],
198
198
  onClick: function onClick() {
199
199
  return showModal(modalId);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "2.23.2-3",
5
+ "version": "2.23.2-4",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",