diff --git a/src/components/columns.tsx b/src/components/columns.tsx index 9b11c8f..2b779db 100644 --- a/src/components/columns.tsx +++ b/src/components/columns.tsx @@ -39,9 +39,7 @@ export const transactionColumns: ColumnDef[] = [ { id: 'icon', accessorFn: (row) => row.logoUrl || row.categoryIconUrl, - header: () => { - return Icon - }, + header: () => Icon, cell: (ctx) => { const value = ctx.getValue() if (!value || typeof value !== 'string') return null @@ -90,6 +88,7 @@ export const transactionColumns: ColumnDef[] = [ }, { id: 'account', + header: () => 'Account', accessorFn: (row) => row.account?.name, enableColumnFilter: true, },