Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Jun 19, 2024
1 parent 362f5dc commit d87fe60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/component/ExecuteSQLModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ const ExecuteSQLModal: React.FC<IProps> = (props) => {
const handleFormat = () => {
setIsFormatting(true);
setTimeout(() => {
// editorRef.current.doFormat();
//@ts-ignore
editorRef.current.doFormat();
setTimeout(() => {
setIsFormatting(false);
}, 100);
Expand Down

0 comments on commit d87fe60

Please sign in to comment.