Merge a938846b4e
into acf8cb6248
This commit is contained in:
commit
ffa64e975e
@ -12,6 +12,7 @@ const Header = () => {
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { pathname } = useLocation();
|
const { pathname } = useLocation();
|
||||||
const account = useSelector((state) => state.account);
|
const account = useSelector((state) => state.account);
|
||||||
|
const siteInfo = useSelector((state) => state.siteInfo);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@ -40,6 +41,13 @@ const Header = () => {
|
|||||||
>
|
>
|
||||||
首页
|
首页
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
href={siteInfo.chat_link}
|
||||||
|
target="_blank"
|
||||||
|
color="inherit"
|
||||||
|
>
|
||||||
|
聊天
|
||||||
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
component={Link}
|
component={Link}
|
||||||
variant="text"
|
variant="text"
|
||||||
|
Loading…
Reference in New Issue
Block a user