diff --git a/public/components/event_analytics/explorer/save_panel/save_panel.tsx b/public/components/event_analytics/explorer/save_panel/save_panel.tsx index 600d8fb6cc..3f4d01cd19 100644 --- a/public/components/event_analytics/explorer/save_panel/save_panel.tsx +++ b/public/components/event_analytics/explorer/save_panel/save_panel.tsx @@ -61,7 +61,7 @@ export const SavePanel = ({ useEffect(() => { getCustomPabnelList(savedObjects); - }, []); + }); const onToggleChange = (e: { target: { checked: React.SetStateAction } }) => { setChecked(e.target.checked); diff --git a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx index b8938a9abd..5a51ae9b0f 100644 --- a/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx +++ b/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_configurations_panel.tsx @@ -285,7 +285,7 @@ export const DataConfigPanelItem = ({ console.log('newQueryString: ', newQueryString); handleQueryChange(newQueryString); getVisualizations({ - query: nextQueryState[FINAL_QUERY], + queryState: nextQueryState[FINAL_QUERY], callback: (res) => { updateVisUIState({ visData: res,