Skip to content

Commit

Permalink
nodetest
Browse files Browse the repository at this point in the history
  • Loading branch information
jczhong84 committed Sep 1, 2023
1 parent 7459b1f commit e2aac19
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const useTablesInQuery = (query, language) => {
};

const useSQLGeneration = (
onData: ({ type: string, data: object }) => void
onData: (data: { type?: string; data: { [key: string]: string } }) => void
): {
generating: boolean;
generateSQL: (data: {
Expand Down Expand Up @@ -106,7 +106,6 @@ export const QueryGenerationModal = ({
}
}, []);

// const socket = useAISocket(AICommandType.TEXT_TO_SQL, onData);
const { generating, generateSQL, cancelGeneration } =
useSQLGeneration(onData);

Expand Down

0 comments on commit e2aac19

Please sign in to comment.