TreeView for ProductGroups inital implementation

This commit is contained in:
2026-08-11 23:29:39 +02:00
parent e0042524ce
commit 0e8ad1b0ab
10 changed files with 157 additions and 16 deletions
@@ -7,6 +7,7 @@ const Layout = lazy(() => import('./Layout.tsx'))
const HomePage = lazy(() => import('./pages/HomePage.tsx'))
const LanguagesPage = lazy(() => import('./pages/LanguagesPage.tsx'))
const PropertyPage = lazy(() => import('./pages/PropertyPage.tsx'))
const ProductPage = lazy(() => import('./pages/ProductPage.tsx'))
const NotFoundPage = lazy(() => import('./pages/NotFoundPage.tsx'))
const renderLazyRoute = (Component: ComponentType) => (
@@ -24,6 +25,7 @@ const router = createBrowserRouter([
{ index: true, element: renderLazyRoute(HomePage) },
{ path: 'language', element: renderLazyRoute(LanguagesPage) },
{ path: 'propertypool', element: renderLazyRoute(PropertyPage) },
{ path: 'product', element: renderLazyRoute(ProductPage) },
{ path: '*', element: renderLazyRoute(NotFoundPage) },
],
},