diff --git a/src/components/selectTable.ts b/src/components/selectTable.ts index fec6eed..410e2eb 100644 --- a/src/components/selectTable.ts +++ b/src/components/selectTable.ts @@ -1,12 +1,6 @@ import { z } from 'zod' import Logger from '../classes/Logger' -import { - tableRow, - T_IO_PROPS, - menuItem, - T_IO_RETURNS, - T_IO_STATE, -} from '../ioSchema' +import { tableRow, T_IO_PROPS, T_IO_RETURNS, T_IO_STATE } from '../ioSchema' import { MenuItem, TableColumn } from '../types' import { columnsBuilder, diff --git a/src/examples/basic/table.ts b/src/examples/basic/table.ts index 1947c5f..5bbf5be 100644 --- a/src/examples/basic/table.ts +++ b/src/examples/basic/table.ts @@ -240,7 +240,10 @@ export const select_table: IntervalActionHandler = async io => { defaultPageSize: 500, columns: [ 'id', - 'description', + { + label: 'Description', + accessorKey: 'description', + }, 'number', 'boolean', 'date',