fix: sitename title

This commit is contained in:
hamster1963
2024-12-02 10:51:47 +08:00
parent a58d95fdbb
commit ef8b0ed7ad
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ function Header() {
const siteName = settingData?.data?.site_name;
useEffect(() => {
document.title = siteName || "NEZHA";
}, [siteName]);
return (
<div className="mx-auto w-full max-w-5xl">
<section className="flex items-center justify-between">