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; let config = value;
const onFieldChange = (field: keyof UseMetricConfig, value: any) => { const onFieldChange = (field: keyof UseMetricConfig, value: any) => {
if(_.isNil(config)) { if (_.isNil(config)) {
config = {}; config = {};
} }
config[field] = value; config[field] = value;

Loading…
Cancel
Save