Skip to content

Commit

Permalink
fix(menubar): remove uuid (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin authored Nov 9, 2023
1 parent 2eeef22 commit 478e19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/components/Editor/components/MenuBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const MenuBar = ({ editor }: { editor: Editor }) => {
borderTopRadius="0.25rem"
>
{items.map((item) => (
<Fragment key={uuid()}>
<>
{item.type === "divider" ? (
<Divider
orientation="vertical"
Expand All @@ -187,7 +187,7 @@ export const MenuBar = ({ editor }: { editor: Editor }) => {
) : (
<MenuItem {...item} />
)}
</Fragment>
</>
))}
</HStack>
)
Expand Down

0 comments on commit 478e19e

Please sign in to comment.