diff --git a/rsconcept/frontend/src/app/ApplicationLayout.tsx b/rsconcept/frontend/src/app/ApplicationLayout.tsx index 67471bef..1576f056 100644 --- a/rsconcept/frontend/src/app/ApplicationLayout.tsx +++ b/rsconcept/frontend/src/app/ApplicationLayout.tsx @@ -1,7 +1,6 @@ import { Suspense } from 'react'; -import { Outlet, useNavigation } from 'react-router'; +import { Outlet } from 'react-router'; -import { Loader } from '@/components/Loader'; import { ModalLoader } from '@/components/Modal'; import { useAppLayoutStore, useMainHeight, useViewportHeight } from '@/stores/appLayout'; import { globals } from '@/utils/constants'; @@ -15,8 +14,6 @@ import { GlobalTooltips } from './GlobalTooltips'; import { Navigation } from './Navigation'; function ApplicationLayout() { - const navigation = useNavigation(); - const mainHeight = useMainHeight(); const viewportHeight = useViewportHeight(); const showScroll = useAppLayoutStore(state => !state.noScroll); @@ -50,10 +47,8 @@ function ApplicationLayout() { }} >
- {navigation.state === 'loading' ? : null} - }> - - + +
{!noNavigation && !noFooter ?