+
Store
the primary color is: {tocoStore.common.primaryColor}
Service
@@ -24,8 +24,8 @@ const Test = (props) => {
-
+
);
};
-export default withPage(Test);
+export default Test;
diff --git a/template/src/pages/yyy/xxx/xxxAPI.ts b/template/src/pages/yyy/xxx/api.ts
similarity index 100%
rename from template/src/pages/yyy/xxx/xxxAPI.ts
rename to template/src/pages/yyy/xxx/api.ts
diff --git a/template/src/pages/yyy/xxx/Xxx.js b/template/src/pages/yyy/xxx/index.js
similarity index 77%
rename from template/src/pages/yyy/xxx/Xxx.js
rename to template/src/pages/yyy/xxx/index.js
index 613c2c6..b6c3d30 100644
--- a/template/src/pages/yyy/xxx/Xxx.js
+++ b/template/src/pages/yyy/xxx/index.js
@@ -1,7 +1,7 @@
import { useAppSelector } from '@/app/hooks';
-import withPage from '@/utils/withPage';
+import Root from '@/Root';
import { useEffect } from 'react';
-import * as tocoServices from './xxxAPI';
+import * as tocoServices from './api';
const Xxx = (props) => {
const tocoStore = useAppSelector((state) => state);
@@ -16,10 +16,10 @@ const Xxx = (props) => {
}, [props, tocoStore]);
return (
-