diff --git a/src/UI/Components/CommandInput/CommandInput.tsx b/src/UI/Components/CommandInput/CommandInput.tsx index 63ed0dd5d..9cd3cc400 100644 --- a/src/UI/Components/CommandInput/CommandInput.tsx +++ b/src/UI/Components/CommandInput/CommandInput.tsx @@ -22,21 +22,6 @@ export class CommandInput extends React.Component super(props); } - // componentDidMount(): void - // { - // document.addEventListener("keydown", (e: KeyboardEvent) => - // { - // this.setState({ showCommandTypeModal: false }); - // }); - // document.addEventListener("click", (e: React.MouseEvent) => - // { - // console.log("e.target", e.target); - // if (e.target.className.include("command-setting-wrench")) - // { - // this.setState({ showCommandTypeModal: false }); - // } - // }); - // } render() { const store = CommandStore.GetInstance();