From 8b1c6ed1b3718c441ea4e24b9eeb14e2030bc9f5 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:05:53 -0600 Subject: [PATCH] Add missing callback dependency (#30797) (#30809) (cherry picked from commit 64a1003a28c1bef7967c0fe79b3c4a9f7bb2a41e) Co-authored-by: Alex Khomenko --- public/app/features/variables/editor/SelectionOptionsEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/variables/editor/SelectionOptionsEditor.tsx b/public/app/features/variables/editor/SelectionOptionsEditor.tsx index 849dca33040..3dce3cbd11a 100644 --- a/public/app/features/variables/editor/SelectionOptionsEditor.tsx +++ b/public/app/features/variables/editor/SelectionOptionsEditor.tsx @@ -19,7 +19,7 @@ export const SelectionOptionsEditor: FunctionComponent) => { props.onMultiChanged(toVariableIdentifier(props.variable), event.target.checked); }, - [props.onMultiChanged] + [props.onMultiChanged, props.variable] ); const onIncludeAllChanged = useCallback(