Skip to content

Commit f9c3612

Browse files
committed
refactor: improve syntax
1 parent 775ef42 commit f9c3612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AppSidebarNav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const AppSidebarNav = ({ items }) => {
5353
const Component = component
5454
return (
5555
<Component compact as="div" key={index} toggler={navLink(name, icon)} {...rest}>
56-
{item.items?.map((item, index) =>
56+
{items?.map((item, index) =>
5757
item.items ? navGroup(item, index) : navItem(item, index, true),
5858
)}
5959
</Component>

0 commit comments

Comments
 (0)