mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 20:50:08 +00:00
fix: sitename title
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user