Skip to content

Commit

Permalink
fix: 키 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
six-standard committed May 9, 2024
1 parent 2047191 commit 86ca150
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/common/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ export const Sidebar = ({ isOpen, setOpen }: PropType) => {
)}
<ContentContainer>
<MenuContainer>
{menus?.map((i: any) => (
{menus?.map((item: any, index: number) => (
<Menu
icon={i.icon}
text={i.name}
key={index}
icon={item.icon}
text={item.name}
isOpen={isOpen}
onClick={() => navigate(i.link.replaceAll('-team-', params?.teamUUID))}
onClick={() => navigate(item.link.replaceAll('-team-', params?.teamUUID))}
/>
))}
</MenuContainer>
Expand Down

0 comments on commit 86ca150

Please sign in to comment.