src/components/ContextMenu/ItemConfirm.tsx
Function ItemConfirm
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ItemConfirm: React.FC<Props> = (props: Props): JSX.Element => {
const [confirm, setConfirm] = useState(false)
const [event, setEvent] = useState()
const { hideAll } = useContextMenu()