Deleted Sidebar from dashboard
This commit is contained in:
parent
dc6b5e704f
commit
da0be11d29
|
@ -8,7 +8,6 @@ import SubNavigation from '@/components/elements/SubNavigation';
|
||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import Spinner from '@/components/elements/Spinner';
|
import Spinner from '@/components/elements/Spinner';
|
||||||
import routes from '@/routers/routes';
|
import routes from '@/routers/routes';
|
||||||
import Sidebar from '@/components/Sidebar';
|
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
|
@ -30,8 +29,6 @@ export default () => {
|
||||||
</SubNavigation>
|
</SubNavigation>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Sidebar />
|
|
||||||
|
|
||||||
<TransitionRouter>
|
<TransitionRouter>
|
||||||
<React.Suspense fallback={<Spinner centered />}>
|
<React.Suspense fallback={<Spinner centered />}>
|
||||||
<Switch location={location}>
|
<Switch location={location}>
|
||||||
|
|
Loading…
Reference in New Issue