feat(web): object-detail tab title, caption element fix, login title (#57)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 17:22:18 +02:00
parent 6e1f5ea50f
commit 8511aebb53
4 changed files with 28 additions and 6 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
import { useState, type FormEvent } from "react";
import { useEffect, useState, type FormEvent } from "react";
import { useNavigate } from "react-router-dom";
import { useTranslation } from "react-i18next";
@@ -14,6 +14,10 @@ export function LoginPage() {
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
useEffect(() => {
document.title = t("app.name");
}, [t]);
const onSubmit = (event: FormEvent) => {
event.preventDefault();
login.mutate(