Skip to content

Commit

Permalink
fix menuItem ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneeza committed Jul 5, 2023
1 parent aac5374 commit 4b1b27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/side-nav/src/SideNavItem/SideNavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const SideNavItem: ExtendableBox<
}, [children, active, indentLevel]);

const renderedChildren = useMemo(() => {
const renderedChildren: React.ReactNodeArray = [];
const renderedChildren: Array<React.ReactNode> = [];

React.Children.forEach(children, child => {
if (!child) {
Expand Down

0 comments on commit 4b1b27c

Please sign in to comment.