fix lint issue

This commit is contained in:
Maurits Lourens 2021-07-28 17:20:25 +02:00
parent 019243a329
commit 2b2528bdbd
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@
}
const duplicateCondition = id => {
const condition = conditions.find(link => link.id === id);
const duplicate = {...condition, id: generate()}
const condition = conditions.find(link => link.id === id)
const duplicate = { ...condition, id: generate() }
conditions = [...conditions, duplicate]
}