Reset the state to initial query every time (#1635)

This commit is contained in:
sunghyunkang1111
2023-10-02 11:28:37 -05:00
committed by GitHub
parent 9ad9f7bf51
commit e3c168b7be

View File

@@ -180,7 +180,7 @@ export const useQueryCopilot: QueryCopilotStore = create((set) => ({
showFeedbackModal: false,
hideFeedbackModalForLikedQueries: false,
correlationId: "",
query: "",
query: "SELECT * FROM c",
selectedQuery: "",
isGeneratingQuery: false,
isGeneratingExplanation: false,