From 61c266057a9bdc92f78c89cc29d6e83a6ed91d69 Mon Sep 17 00:00:00 2001 From: tzhangchi Date: Thu, 8 Sep 2022 19:09:28 +0800 Subject: [PATCH] feat(code): remove unused comment --- libs/components/editor-blocks/src/blocks/code/CodeView.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/components/editor-blocks/src/blocks/code/CodeView.tsx b/libs/components/editor-blocks/src/blocks/code/CodeView.tsx index ff6638deb3..a1f4d9826a 100644 --- a/libs/components/editor-blocks/src/blocks/code/CodeView.tsx +++ b/libs/components/editor-blocks/src/blocks/code/CodeView.tsx @@ -162,9 +162,6 @@ export const CodeView = ({ block, editor }: CreateCodeView) => { }; useEffect(() => { handleLangChange(langType ? langType : DEFAULT_LANG); - // setTimeout(() => { - // focusCode(); - // }, 100); }, []); const copyCode = () => {