diff --git a/src/actions/actionDeleteSelected.tsx b/src/actions/actionDeleteSelected.tsx index 1c2aed03..bb1dab71 100644 --- a/src/actions/actionDeleteSelected.tsx +++ b/src/actions/actionDeleteSelected.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Action } from "./types"; import { deleteSelectedElements } from "../scene"; import { KEYS } from "../keys"; @@ -12,8 +11,5 @@ export const actionDeleteSelected: Action = { }, contextItemLabel: "Delete", contextMenuOrder: 3, - keyTest: event => event.key === KEYS.BACKSPACE || event.key === KEYS.DELETE, - PanelComponent: ({ updateData }) => ( - - ) + keyTest: event => event.key === KEYS.BACKSPACE || event.key === KEYS.DELETE };