diff --git a/components/Navigation.jsx b/components/Navigation.jsx index 4255153..dcb11e4 100644 --- a/components/Navigation.jsx +++ b/components/Navigation.jsx @@ -13,8 +13,7 @@ function Navigation() { } }, [pathname]); - // Dynamische Anpassung der Pfade mit oder ohne .html - const isProduction = process.env.NEXT_PUBLIC_NODE_ENV === "production"; + // Menüeinträge ohne .html-Endungen für SPA-Navigation const menuItems = [ { name: "Übersicht", path: "/dashboard" }, { name: "Kabelüberwachung", path: "/kabelueberwachung" }, @@ -25,14 +24,10 @@ function Navigation() {