diff --git a/src/renderer/components/context-menu/index.tsx b/src/renderer/components/context-menu/index.tsx index ad342f89..5dcdd2d7 100644 --- a/src/renderer/components/context-menu/index.tsx +++ b/src/renderer/components/context-menu/index.tsx @@ -1,5 +1,5 @@ import { forwardRef, ReactNode, Ref } from 'react'; -import { Grid, Group, UnstyledButton, UnstyledButtonProps } from '@mantine/core'; +import { Box, Group, UnstyledButton, UnstyledButtonProps } from '@mantine/core'; import { motion, Variants } from 'framer-motion'; import styled from 'styled-components'; @@ -75,26 +75,13 @@ export const ContextMenuButton = forwardRef( disabled={props.disabled} onClick={props.onClick} > - - - {leftIcon} - - {children} - - - {rightIcon} - - - + + + {leftIcon} + {children} + + {rightIcon} + ); },