mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Add missing callback dependency (#30797)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user