feat(blog): close #45
This commit is contained in:
parent
76d4c680d2
commit
cda0e813ec
2 changed files with 4 additions and 2 deletions
|
@ -99,7 +99,7 @@ const Sidebar = () => {
|
|||
{/* sidebar items */}
|
||||
|
||||
{NavbarData.map((item, index) => {
|
||||
return <SubMenu item={item} key={index} />
|
||||
return <SubMenu onClick={toggleSidebar} item={item} key={index} />
|
||||
})}
|
||||
</SidebarWrap>
|
||||
</SidebarNav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue