diff --git a/src/component/ExecuteSQLModal/index.tsx b/src/component/ExecuteSQLModal/index.tsx index dd35383ad..a63131284 100644 --- a/src/component/ExecuteSQLModal/index.tsx +++ b/src/component/ExecuteSQLModal/index.tsx @@ -101,7 +101,8 @@ const ExecuteSQLModal: React.FC = (props) => { const handleFormat = () => { setIsFormatting(true); setTimeout(() => { - // editorRef.current.doFormat(); + //@ts-ignore + editorRef.current.doFormat(); setTimeout(() => { setIsFormatting(false); }, 100);