From 64a1003a28c1bef7967c0fe79b3c4a9f7bb2a41e Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Tue, 2 Feb 2021 09:17:11 +0200 Subject: [PATCH] Add missing callback dependency (#30797) --- 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(