We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd2d22 commit 690327dCopy full SHA for 690327d
packages/compass-indexes/src/components/create-index-form/query-flow-section.tsx
@@ -204,7 +204,10 @@ const QueryFlowSection = ({
204
if (initialQuery !== null) {
205
generateSuggestedIndexes();
206
}
207
- }, [generateSuggestedIndexes, initialQuery]);
+ // we do not want to update this when the initialQuery changes
208
+ // this should just be done when the component first renders
209
+ // eslint-disable-next-line
210
+ }, []);
211
212
return (
213
<>
0 commit comments