diff --git a/src/components/Table/EditableTable.jsx b/src/components/Table/EditableTable.jsx index a06bc95..8e18eea 100644 --- a/src/components/Table/EditableTable.jsx +++ b/src/components/Table/EditableTable.jsx @@ -6,7 +6,7 @@ import { EditableCell } from './EditableCell' const newRowKeyValue = 'newRow' const tryAddKeys = (items) => { - if(!items?.length) + if(!items?.length || !items[0]) return [] if(items[0].key) return items