@gamelearn/arcade-components 1.15.0 → 1.15.1

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.
@@ -37,6 +37,7 @@ var CartelComponent = function CartelComponent(_ref) {
37
37
  voice = _ref.voice,
38
38
  emitEvent = _ref.emitEvent,
39
39
  soundActions = _ref.soundActions;
40
+ var resourceUrl = (img === null || img === void 0 ? void 0 : img.url) || 'https://min.gamelearn.io/css-resources/gamelearn/resources/conversation.jpg';
40
41
  var textBox = (0, _react.useRef)();
41
42
  var picture = (0, _react.useRef)();
42
43
 
@@ -107,8 +108,8 @@ var CartelComponent = function CartelComponent(_ref) {
107
108
  ref: picture,
108
109
  onLoad: calculateTextPosition,
109
110
  className: "cartel__image",
110
- src: img.url,
111
- alt: img.imgName
111
+ src: resourceUrl,
112
+ alt: "cartel pic"
112
113
  }), text ? /*#__PURE__*/_react.default.createElement("div", {
113
114
  ref: textBox,
114
115
  className: "cartel__textwrap"
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "1.15.0",
5
+ "version": "1.15.1",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",