Skip to content

Commit c4ddebc

Browse files
authored
Remove id col from Groups table on profile page (#2082)
* Remove ID col from groups table on profile page
1 parent 530a099 commit c4ddebc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/pages/settings/ProfilePage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ import { TextField } from '~/components/form/fields/TextField'
1414
import { FullPageForm } from '~/components/form/FullPageForm'
1515
import { useForm } from '~/hooks'
1616
import { useCurrentUser } from '~/layouts/AuthenticatedLayout'
17+
import { getActionsCol } from '~/table/columns/action-col'
1718
import { Table } from '~/table/Table'
1819

1920
const colHelper = createColumnHelper<Group>()
2021

2122
const columns = [
22-
colHelper.accessor('id', { header: 'ID' }),
2323
colHelper.accessor('displayName', { header: 'Name' }),
24+
// use _row to prevent eslint from complaining about the unused variable
25+
getActionsCol((_row: Group) => []),
2426
]
2527

2628
export function ProfilePage() {

0 commit comments

Comments
 (0)