Skip to content

Commit

Permalink
fix: editor always run the first sql.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aralhi committed Apr 12, 2024
1 parent aea575e commit 593278c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/components/chat/db-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ function DbEditor() {
)}
onClick={() => {
setCurrentTabIndex(index);
setNewEditorValue(editorValue?.[index]);
}}
>
{item.title}
Expand Down

0 comments on commit 593278c

Please sign in to comment.