Browse Source

linter

merge-requests/9/head
vargburz 2 years ago
parent
commit
1fcad48a2a
  1. 2
      src/components/editors/UseMetricEditor.tsx

2
src/components/editors/UseMetricEditor.tsx

@ -21,7 +21,7 @@ export function UseMetricEditor({ onChange, value, context }: StandardEditorProp
let config = value;
const onFieldChange = (field: keyof UseMetricConfig, value: any) => {
if(_.isNil(config)) {
if (_.isNil(config)) {
config = {};
}
config[field] = value;

Loading…
Cancel
Save