fix lint issue
This commit is contained in:
parent
5f18c86d79
commit
7397822478
|
@ -102,8 +102,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const duplicateCondition = id => {
|
const duplicateCondition = id => {
|
||||||
const condition = conditions.find(link => link.id === id);
|
const condition = conditions.find(link => link.id === id)
|
||||||
const duplicate = {...condition, id: generate()}
|
const duplicate = { ...condition, id: generate() }
|
||||||
conditions = [...conditions, duplicate]
|
conditions = [...conditions, duplicate]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue