From 85a84db5f7f5ddd02288352511e00c9d7690533f Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 22 May 2023 16:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91:=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/CommandInput/CommandInput.tsx | 15 --------------- 1 file changed, 15 deletions(-) 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();