@gamelearn/arcade-components 2.12.10 → 2.12.11

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.
@@ -261,11 +261,12 @@ var ImageClickWrapperComponent = function ImageClickWrapperComponent(props) {
261
261
  });
262
262
 
263
263
  if (timer) {
264
+ clearIntervalForCountDown();
264
265
  pauseTheCounter();
265
266
  }
266
267
  }
267
268
  }
268
- }, [clickedZones, areas.length, specificFeedbacks, hasClickOnce, completed, info.solution.right, pauseTheCounter, timer]);
269
+ }, [clickedZones, areas.length, specificFeedbacks, hasClickOnce, completed, info.solution.right, pauseTheCounter, timer, clearIntervalForCountDown]);
269
270
  (0, _react.useEffect)(function () {
270
271
  setResolveAction(function (resolve) {
271
272
  if (timer) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.12.10",
5
+ "version": "2.12.11",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",