From ccd08bc0f03cb59b351c19d78ac0f937a5270368 Mon Sep 17 00:00:00 2001 From: Wolfboy248 Date: Mon, 25 Aug 2025 11:13:20 +0200 Subject: Moved breadcrum navigation into its own component --- frontend/src/pages/Maplist/Maplist.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'frontend/src/pages/Maplist') diff --git a/frontend/src/pages/Maplist/Maplist.tsx b/frontend/src/pages/Maplist/Maplist.tsx index a5649db..d8acdf0 100644 --- a/frontend/src/pages/Maplist/Maplist.tsx +++ b/frontend/src/pages/Maplist/Maplist.tsx @@ -7,6 +7,7 @@ import { Game } from "@customTypes/Game.ts"; import { GameChapter, GamesChapters } from "@customTypes/Chapters.ts"; import Map from "./Components/Map"; +import BreadcrumbNav from "@components/BreadcrumbNav/BreadcrumbNav"; const Maplist: React.FC = () => { const [game, setGame] = React.useState(null); @@ -89,24 +90,17 @@ const Maplist: React.FC = () => { }, [gameChapters, location.search]); return ( -
+
LPHUB | Maplist -
- - - -
+ {load ? (
) : ( -
+

{game?.name}

-- cgit v1.2.3