diff --git a/src/frontend/src/modals/dictAreaModal/index.tsx b/src/frontend/src/modals/dictAreaModal/index.tsx index f7b20f9d2..9cc525b48 100644 --- a/src/frontend/src/modals/dictAreaModal/index.tsx +++ b/src/frontend/src/modals/dictAreaModal/index.tsx @@ -26,55 +26,46 @@ export default function DictAreaModal({ if (value) ref.current = value; }, [ref]); - //This code prevents delete Node and close modal when user press backspace key - const handleKeyDown = (event) => { - if (event.code === "Backspace") { - event.stopPropagation(); - } - }; - return ( -
- - {children} - - Edit Dictionary -
+ + ); }