Skip to content

Commit

Permalink
fix: NotFoundError facebook/react#17256
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadxgani committed Mar 11, 2023
1 parent 0dab1f9 commit 9ed360d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/editor/Block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export const Block = () => {
});

return (
<Box position={"relative"} top={-2} ref={setElement}>
<Menu>
<Box display={"none"}>
<Box position={"relative"} top={-2} ref={setElement}>
<Menu >
<MenuButton as={IconButton} aria-label="Options" icon={<BiDotsVertical />} variant="outline" />
<MenuList>
<MenuItem
Expand Down Expand Up @@ -77,6 +78,7 @@ export const Block = () => {
</MenuItem>
</MenuList>
</Menu>
</Box>
</Box>
);
};

0 comments on commit 9ed360d

Please sign in to comment.