Skip to content

Commit

Permalink
fix long query bug (#2285)
Browse files Browse the repository at this point in the history
  • Loading branch information
chejennifer authored Feb 22, 2023
1 parent b50b79f commit b2779e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/apps/nl_interface/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function App(): JSX.Element {
queries={queries}
onQuerySearched={(q) => {
setQueries([...queries, q]);
if (!autoRun) {
if (!autoRun.current) {
inputNextPrompt(true);
}
}}
Expand Down

0 comments on commit b2779e4

Please sign in to comment.