fix: titre onglet — nom du perso + TetaRdPG au lieu de 'frontend'
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 35s
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 35s
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>frontend</title>
|
||||
<title>TetaRdPG</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user