diff --git a/src/Geopilot.Frontend/src/app.tsx b/src/Geopilot.Frontend/src/app.tsx index cf7cb619..76413169 100644 --- a/src/Geopilot.Frontend/src/app.tsx +++ b/src/Geopilot.Frontend/src/app.tsx @@ -17,6 +17,7 @@ import { Imprint } from "./pages/footer/imprint.tsx"; import { DeliveryProvider } from "./pages/delivery/deliveryContext.tsx"; import { CircularProgress } from "@mui/material"; import MandateDetail from "./pages/admin/mandateDetail.tsx"; +import { ControlledNavigateProvider } from "./components/controlledNavigate/controlledNavigateProvider.tsx"; export const App: FC = () => { const [isSubMenuOpen, setIsSubMenuOpen] = useState(false); @@ -25,49 +26,51 @@ export const App: FC = () => { return ( -
{ - setIsSubMenuOpen(true); - }} - /> - - - {isLoading ? ( - - ) : ( - - - - - } - /> - {isAdmin ? ( - <> - } /> - }> - } /> - } /> - } /> - } /> - } /> - - - ) : ( - } /> - )} - } /> - } /> - } /> - - )} - -