import { createContext, memo } from 'react' import { Route, Switch } from 'react-router-dom' import { AdminLayoutPortal, LayoutPortal } from '@components/Layout' import { PrivateDefaultRoute, PrivateRoute } from '@components/Private' import Well from './Well' import Cluster from './Cluster' import Deposit from './Deposit' import AdminPanel from './AdminPanel' import AccessDenied from './AccessDenied' export const RootPathContext = createContext('') export const Main = memo(() => ( )) export default Main