This commit is contained in:
Ray Yan 2024-04-06 19:41:56 +08:00 committed by GitHub
commit ffa64e975e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ const Header = () => {
const theme = useTheme();
const { pathname } = useLocation();
const account = useSelector((state) => state.account);
const siteInfo = useSelector((state) => state.siteInfo);
return (
<>
@ -40,6 +41,13 @@ const Header = () => {
>
首页
</Button>
<Button
href={siteInfo.chat_link}
target="_blank"
color="inherit"
>
聊天
</Button>
<Button
component={Link}
variant="text"