Skip to content

Commit c9eb5bd

Browse files
committed
Fix: lint/text errors from CI
1 parent b8edd0d commit c9eb5bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/src/DataTable/__tests__/DataTable.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ describe('DataTable', () => {
10711071
{id: 2, name: 'The Matador', _uid: 'abc12334'},
10721072
]
10731073

1074-
const getRowId = (row: any) => row._uid
1074+
const getRowId = (row: {id: number; name: string; _uid: string}) => row._uid
10751075

10761076
const {result} = renderHook(() =>
10771077
useTable({
@@ -1091,7 +1091,7 @@ describe('DataTable', () => {
10911091
{id: 2, name: 'The Matador', _uid: 'abc12334'},
10921092
]
10931093

1094-
const getRowId = (row: any) => row.id
1094+
const getRowId = (row: {id: number; name: string; _uid: string}) => row.id
10951095

10961096
const {result} = renderHook(() =>
10971097
useTable({

0 commit comments

Comments
 (0)