fix lint issue
This commit is contained in:
parent
019243a329
commit
2b2528bdbd
|
@ -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