mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add missing callback dependency (#30797)
This commit is contained in:
parent
179f35a537
commit
64a1003a28
@ -19,7 +19,7 @@ export const SelectionOptionsEditor: FunctionComponent<SelectionOptionsEditorPro
|
||||
(event: React.ChangeEvent<HTMLInputElement>) => {
|
||||
props.onMultiChanged(toVariableIdentifier(props.variable), event.target.checked);
|
||||
},
|
||||
[props.onMultiChanged]
|
||||
[props.onMultiChanged, props.variable]
|
||||
);
|
||||
|
||||
const onIncludeAllChanged = useCallback(
|
||||
|
Loading…
Reference in New Issue
Block a user