@etsoo/smarterp-core 1.0.62 → 1.0.63

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.
@@ -29,7 +29,7 @@ function usePageData(app, pageDataOrTitle, deps) {
29
29
  : { page: pageDataOrTitle });
30
30
  return () => {
31
31
  // Reset page data
32
- dispatch({});
32
+ dispatch(true);
33
33
  app.pageExit();
34
34
  };
35
35
  }, deps);
@@ -21,7 +21,7 @@ export function usePageData(app, pageDataOrTitle, deps) {
21
21
  : { page: pageDataOrTitle });
22
22
  return () => {
23
23
  // Reset page data
24
- dispatch({});
24
+ dispatch(true);
25
25
  app.pageExit();
26
26
  };
27
27
  }, deps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -45,7 +45,7 @@
45
45
  "@babel/plugin-transform-runtime": "^7.27.1",
46
46
  "@babel/preset-env": "^7.27.1",
47
47
  "@babel/runtime-corejs3": "^7.27.1",
48
- "@types/react": "^18.3.20",
48
+ "@types/react": "^18.3.21",
49
49
  "@types/react-dom": "^18.3.7",
50
50
  "@vitejs/plugin-react": "^4.4.1",
51
51
  "jsdom": "^26.1.0",
@@ -57,7 +57,7 @@
57
57
  "@etsoo/materialui": "^1.5.45",
58
58
  "@etsoo/react": "^1.8.43",
59
59
  "@etsoo/shared": "^1.2.71",
60
- "@etsoo/toolpad": "^1.0.36",
60
+ "@etsoo/toolpad": "^1.0.38",
61
61
  "@mui/material": "^7.0.2",
62
62
  "react": "^18.3.1",
63
63
  "react-dom": "^18.3.1"
@@ -56,7 +56,7 @@ export function usePageData(
56
56
 
57
57
  return () => {
58
58
  // Reset page data
59
- dispatch({});
59
+ dispatch(true);
60
60
 
61
61
  app.pageExit();
62
62
  };