11import { FC } from 'react' ;
2- // import { Outlet } from 'react-router';
3- import KeepAliveOutlet from '@/components/KeepAliveOutlet' ;
2+ import { Outlet } from 'react-router' ;
3+ // import KeepAliveOutlet from '@/components/KeepAliveOutlet';
44import SideMenu from '@/layouts/SideMenu' ;
55import withAuth from '@/components/business/withAuth' ;
66import Header from '@/layouts/Header' ;
@@ -10,8 +10,8 @@ import { baseModel } from '@/models/base';
1010import { ClassName__ConsoleLayout_RightSideMain } from './consts' ;
1111import Provider from './store/Provider' ;
1212import Tabs from '@/layouts/Tabs' ;
13- // import { motion } from 'framer-motion';
14- // import { Animations } from './animations';
13+ import { motion } from 'framer-motion' ;
14+ import { Animations } from './animations' ;
1515import Collapse from '../Collapse' ;
1616import classNames from 'classnames' ;
1717import { isMobile } from '@/utils/browser' ;
@@ -41,7 +41,7 @@ const ConsoleLayout: FC = () => {
4141 < Collapse />
4242 < Tabs />
4343 </ div >
44- { /* <div className="console-layout__right-side-main-wrap">
44+ < div className = "console-layout__right-side-main-wrap" >
4545 { refreshing ? null : (
4646 < motion . div
4747 className = { ClassName__ConsoleLayout_RightSideMain }
@@ -54,10 +54,10 @@ const ConsoleLayout: FC = () => {
5454 < Outlet />
5555 </ motion . div >
5656 ) }
57- </div> */ }
58- < div className = { `console-layout__right-side-main-wrap ${ ClassName__ConsoleLayout_RightSideMain } ` } >
59- { refreshing ? null : < KeepAliveOutlet /> }
6057 </ div >
58+ { /* <div className={`console-layout__right-side-main-wrap ${ClassName__ConsoleLayout_RightSideMain}`}>
59+ {refreshing ? null : <KeepAliveOutlet />}
60+ </div> */ }
6161 < Footer />
6262 </ div >
6363 </ div >
0 commit comments