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 efba090 commit 9c3cf8cCopy full SHA for 9c3cf8c
x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx
@@ -227,7 +227,8 @@ export function SuggestionPanel({
227
if (!stagedPreview && lastSelectedSuggestion !== -1) {
228
setLastSelectedSuggestion(-1);
229
}
230
- }, [stagedPreview, lastSelectedSuggestion]);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
231
+ }, [stagedPreview]);
232
233
if (!activeDatasourceId) {
234
return null;
0 commit comments