@fileverse-dev/fortune-react 1.2.86-maitra-xl → 1.2.86-maitra-xl-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.
@@ -288,7 +288,7 @@ var Workbook = /*#__PURE__*/React.forwardRef(function (_a, ref) {
288
288
  return newContext;
289
289
  });
290
290
  }
291
- }, [emitOp]);
291
+ }, [emitOp, globalCache]);
292
292
  var handleRedo = useCallback(function () {
293
293
  var history = globalCache.current.redoList.pop();
294
294
  if (history) {
@@ -297,7 +297,7 @@ var Workbook = /*#__PURE__*/_react.default.forwardRef(function (_a, ref) {
297
297
  return newContext;
298
298
  });
299
299
  }
300
- }, [emitOp]);
300
+ }, [emitOp, globalCache]);
301
301
  var handleRedo = (0, _react.useCallback)(function () {
302
302
  var history = globalCache.current.redoList.pop();
303
303
  if (history) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.2.86-maitra-xl",
3
+ "version": "1.2.86-maitra-xl-1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.2.86-maitra-xl",
19
+ "@fileverse-dev/fortune-core": "1.2.86-maitra-xl-1",
20
20
  "@fileverse/ui": "^4.1.7-patch-40",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",