chore: more linter errors

This commit is contained in:
Vasily Zubarev
2025-04-10 11:58:28 +02:00
parent 29a4ac4977
commit d88d0a1174
14 changed files with 67 additions and 62 deletions

View File

@@ -270,7 +270,6 @@ export function CrudTable<T extends { [key: string]: any }>({ items, columns, on
</div>
)
}
function itemDefaults<T>(columns: CrudColumn<T>[]) {
return columns.reduce((acc, column) => {
acc[column.key] = column.defaultValue as T[keyof T]