chore: prettier config
husky needs to be delegated to v11 since it breaks with node 14 + 22 combo
This commit is contained in:
parent
dbca0c8a8c
commit
d3c3de66fe
65 changed files with 1542 additions and 22553 deletions
|
|
@ -75,7 +75,7 @@ const ETable = ({
|
|||
|
||||
setSaving(true)
|
||||
|
||||
const it = validationSchema.cast(value, { assert: 'ignore-optionality'})
|
||||
const it = validationSchema.cast(value, { assert: 'ignore-optionality' })
|
||||
const index = R.findIndex(R.propEq('id', it.id))(data)
|
||||
const list = index !== -1 ? R.update(index, it, data) : R.prepend(it, data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue