diff --git a/public/app/core/components/OptionsUI/registry.tsx b/public/app/core/components/OptionsUI/registry.tsx index d1c51c96de8..123ede77f89 100644 --- a/public/app/core/components/OptionsUI/registry.tsx +++ b/public/app/core/components/OptionsUI/registry.tsx @@ -87,8 +87,7 @@ export const getAllOptionEditors = () => { name: 'Boolean', description: 'Allows boolean values input', editor(props) { - const { id, ...rest } = props; // Remove id from properties passed into switch - return props.onChange(e.currentTarget.checked)} />; + return props.onChange(e.currentTarget.checked)} />; }, }; diff --git a/public/app/plugins/panel/geomap/editor/layerEditor.tsx b/public/app/plugins/panel/geomap/editor/layerEditor.tsx index 064e6189cf7..865b9f94654 100644 --- a/public/app/plugins/panel/geomap/editor/layerEditor.tsx +++ b/public/app/plugins/panel/geomap/editor/layerEditor.tsx @@ -122,7 +122,7 @@ export function getLayerEditor(opts: LayerEditorOptions): NestedPanelOptions