From cae0ef5d57688107686a00ed744c7c7055da5cd0 Mon Sep 17 00:00:00 2001 From: Tetardtek Date: Wed, 25 Mar 2026 01:24:46 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20titre=20onglet=20=E2=80=94=20nom=20du=20?= =?UTF-8?q?perso=20+=20TetaRdPG=20au=20lieu=20de=20'frontend'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 2 +- frontend/src/components/HudBar.tsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index 0fca6f0..9aa5b02 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - frontend + TetaRdPG
diff --git a/frontend/src/components/HudBar.tsx b/frontend/src/components/HudBar.tsx index 7a8d289..de4c374 100644 --- a/frontend/src/components/HudBar.tsx +++ b/frontend/src/components/HudBar.tsx @@ -38,6 +38,10 @@ export function HudBar() { refetchInterval: 30_000, // refresh every 30s for endurance updates }); + useEffect(() => { + document.title = char?.name ? `${char.name} — TetaRdPG` : 'TetaRdPG'; + }, [char?.name]); + const { data: activeQuests } = useQuery({ queryKey: ['questsActive'], queryFn: questApi.active,