fix lint issue

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

View File

@ -102,7 +102,7 @@
} }
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]
} }