Skip to content

Commit f959021

Browse files
committed
fix: fix sidebar navigation
1 parent 2cd1b29 commit f959021

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/Sidebar/Sidebar.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Sidebar() {
1616
case "leetcode": window.location.pathname += `${path}`; break;
1717
case "Bridge-Tools": window.location.pathname += `${path}`; break;
1818
case "noname extension": window.location.pathname += "noname-extension"; break;
19-
case "Art Components": window.location.pathname += "art-components"; break;
19+
case "Artistic Components": window.location.pathname += "artistic-components"; break;
2020
default: window.location.pathname = window.location.pathname; break;
2121
}
2222
// }
@@ -39,9 +39,8 @@ export default function Sidebar() {
3939
<SideNavigationSubItem text="noname extension" />
4040
<SideNavigationSubItem text="Bridge" />
4141
<SideNavigationSubItem text="leetcode" />
42-
{/* <SideNavigationSubItem text="tricks in javascript" /> */}
4342
<SideNavigationSubItem text="Bridge-Tools" />
44-
<SideNavigationSubItem text="Art Components" />
43+
<SideNavigationSubItem text="Artistic Components" />
4544
</SideNavigationItem>
4645

4746
</SideNavigation>

0 commit comments

Comments
 (0)