@gamelearn/arcade-components 0.22.11 → 0.22.13
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/dist/components/image-click-wrapper-component/components/ImageClickWrapperComponent.js
CHANGED
|
@@ -152,7 +152,7 @@ var ImageClickWrapperComponent = function ImageClickWrapperComponent(props) {
|
|
|
152
152
|
|
|
153
153
|
setCompleted(true);
|
|
154
154
|
var lastClicked = clickedZones[clickedZones.length - 1];
|
|
155
|
-
var lastSpecific = specificFeedbacks.correctFeedbacks.find(function (feed) {
|
|
155
|
+
var lastSpecific = specificFeedbacks === null || specificFeedbacks === void 0 ? void 0 : specificFeedbacks.correctFeedbacks.find(function (feed) {
|
|
156
156
|
return feed.id === lastClicked.id;
|
|
157
157
|
});
|
|
158
158
|
|
|
@@ -194,7 +194,7 @@ var ImageClickWrapperComponent = function ImageClickWrapperComponent(props) {
|
|
|
194
194
|
desc = _solution$wrong.desc;
|
|
195
195
|
var feedback = desc;
|
|
196
196
|
var rewards = wrongRewards;
|
|
197
|
-
var specific = (_specificFeedbacks$wr = specificFeedbacks.wrongFeedbacks) === null || _specificFeedbacks$wr === void 0 ? void 0 : _specificFeedbacks$wr.find(function (feed) {
|
|
197
|
+
var specific = specificFeedbacks === null || specificFeedbacks === void 0 ? void 0 : (_specificFeedbacks$wr = specificFeedbacks.wrongFeedbacks) === null || _specificFeedbacks$wr === void 0 ? void 0 : _specificFeedbacks$wr.find(function (feed) {
|
|
198
198
|
return feed.id === area.id;
|
|
199
199
|
});
|
|
200
200
|
|