diff --git a/src/renderer/components/context-menu/index.tsx b/src/renderer/components/context-menu/index.tsx index 9b43d423..ae0bc5e9 100644 --- a/src/renderer/components/context-menu/index.tsx +++ b/src/renderer/components/context-menu/index.tsx @@ -1,8 +1,7 @@ import { forwardRef, ReactNode, Ref } from 'react'; -import { Portal } from '@mantine/core'; +import { Portal, UnstyledButton } from '@mantine/core'; import { motion } from 'framer-motion'; import styled from 'styled-components'; -import { _Button } from '/@/renderer/components/button'; interface ContextMenuProps { children: ReactNode; @@ -23,17 +22,27 @@ const ContextMenuContainer = styled(motion.div) { return ( {contextMenuItems[item.id as keyof typeof contextMenuItems].label} - {item.divider && } + {item.divider && ( + + )} ); })}