import React , { useContext, useEffect ,useState}from 'react'
import './Main.less';
import { MainRoutes, RedirectRoutes  } from '@/routes';

function Main(props){
  const {menuType} = props;
  console.log("menuType",menuType);
  return (
    <div
      className={menuType ? `right-container has-nav` : `right-container has-nav right-container-vertical`}
      id="rightContainer"
    >
      <MainRoutes/>
      <RedirectRoutes/>
    </div>
  )
}
export default Main;
