소스 검색

fix categoryTree onLoad

ilya_shyian 1 년 전
부모
커밋
7a6e70345a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/admin/AdminLayoutPage/index.js

+ 2 - 2
src/components/admin/AdminLayoutPage/index.js

@@ -22,8 +22,8 @@ const AdminCategoryTreePageContainer = ({ onLoad, onUnmount }) => {
 };
 
 const CAdminCategoryTreePageContainer = connect(null, {
-    onUnmount: () => actionCatAll(),
-    onLoad: () => actionPromiseClear("catAll"),
+    onUnmount: () => actionPromiseClear("catAll"),
+    onLoad: () => actionCatAll(),
 })(AdminCategoryTreePageContainer);
 
 const AdminLayoutPage = () => {