lint fixes

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-01 12:55:09 +02:00
parent 2e13c5f10e
commit 1c29edb830
2 changed files with 7 additions and 4 deletions

View File

@ -107,7 +107,10 @@ export function createTablesStore() {
state.draft.indexes = indexes
}
state.draft.schema = {...state.draft.schema, [field.name]: cloneDeep(field)}
state.draft.schema = {
...state.draft.schema,
[field.name]: cloneDeep(field),
}
save(state.draft)
return state
})

View File

@ -37,7 +37,7 @@ export function createViewsStore() {
viewTable.views[view.name] = viewMeta
await tables.save(viewTable)
update(state => ({...state, selected: viewMeta}))
update(state => ({ ...state, selected: viewMeta }))
},
}
}