diff --git a/rsconcept/frontend/src/app/application-layout.tsx b/rsconcept/frontend/src/app/application-layout.tsx index bb4e5f8c..338a8302 100644 --- a/rsconcept/frontend/src/app/application-layout.tsx +++ b/rsconcept/frontend/src/app/application-layout.tsx @@ -1,5 +1,6 @@ import { Suspense } from 'react'; import { Outlet } from 'react-router'; +import clsx from 'clsx'; import { ModalLoader } from '@/components/modal'; import { useAppLayoutStore, useMainHeight, useViewportHeight } from '@/stores/app-layout'; @@ -17,7 +18,6 @@ import { Navigation } from './navigation'; export function ApplicationLayout() { const mainHeight = useMainHeight(); const viewportHeight = useViewportHeight(); - const showScroll = useAppLayoutStore(state => !state.noScroll); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const noNavigation = useAppLayoutStore(state => state.noNavigation); const noFooter = useAppLayoutStore(state => state.noFooter); @@ -27,8 +27,7 @@ export function ApplicationLayout() {
-
+
diff --git a/rsconcept/frontend/src/app/navigation/navigation.tsx b/rsconcept/frontend/src/app/navigation/navigation.tsx index 1b2bf738..64db5b84 100644 --- a/rsconcept/frontend/src/app/navigation/navigation.tsx +++ b/rsconcept/frontend/src/app/navigation/navigation.tsx @@ -1,7 +1,8 @@ +import clsx from 'clsx'; + import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/icons'; import { useWindowSize } from '@/hooks/use-window-size'; import { useAppLayoutStore } from '@/stores/app-layout'; -import { PARAMETER } from '@/utils/constants'; import { urls } from '../urls'; @@ -29,14 +30,11 @@ export function Navigation() {