From 764ec264c8a9c06456674c6ddad947b05a8d2a0b Mon Sep 17 00:00:00 2001 From: Victor Marin <36818606+mdvictor@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:23:00 +0300 Subject: [PATCH] Fix deps on panel options (#93647) --- public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx b/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx index d342f9e3ad3..01e4655d832 100644 --- a/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx +++ b/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx @@ -47,7 +47,7 @@ export const PanelOptions = React.memo(({ vizManager, searchQuery, listMo instanceState: _pluginInstanceState, }); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [panel, options, fieldConfig, _pluginInstanceState]); + }, [data, panel, options, fieldConfig, _pluginInstanceState]); const libraryPanelOptions = useMemo(() => { if (panel instanceof VizPanel && isLibraryPanel(panel)) {