File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ export function Header() {
39
39
</ p >
40
40
</ div >
41
41
</ div >
42
- < NavItem title = "文章" selected = { location === "/" || location . startsWith ( '/feed' ) } herf = "/" />
42
+ < NavItem title = "文章" selected = { location === "/" || location . startsWith ( '/feed' ) } href = "/" />
43
43
{ /* <NavItem title="标签" selected={false} onClick={() => { }} /> */ }
44
- { profile ?. permission && < NavItem title = "写作" selected = { location . startsWith ( "/writing" ) } herf = "/writing" /> }
45
- < NavItem title = "朋友们" selected = { location === "/friends" } herf = "/friends" />
46
- < NavItem title = "关于" selected = { location === "/about" } herf = "/about" />
44
+ { profile ?. permission && < NavItem title = "写作" selected = { location . startsWith ( "/writing" ) } href = "/writing" /> }
45
+ < NavItem title = "朋友们" selected = { location === "/friends" } href = "/friends" />
46
+ < NavItem title = "关于" selected = { location === "/about" } href = "/about" />
47
47
< UserAvatar className = "visible opacity-100 sm:hidden sm:opacity-0 duration-300 justify-center items-center h-12" profile = { profile } />
48
48
</ div >
49
49
</ div >
You can’t perform that action at this time.
0 commit comments