File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { useCallback, useMemo } from "react";
33import { useGetDatasets } from "@squonk/data-manager-client/dataset" ;
44
55import { CircularProgress } from "@mui/material" ;
6- import type { CoreOptions , Row } from "@tanstack/react-table" ;
6+ import type { Row } from "@tanstack/react-table" ;
77import { createColumnHelper } from "@tanstack/react-table" ;
88import dynamic from "next/dynamic" ;
99
@@ -129,10 +129,7 @@ export const DatasetsTable = () => {
129129 const { selectedDatasets, onSelection } = useSelectedDatasets ( datasets ) ;
130130
131131 const { owner, editor, fileType, labels } = filter ;
132- const getRowId : CoreOptions < TableDataset > [ "getRowId" ] = useCallback (
133- ( row ) => `${ row . dataset_id } #${ row . version } ` ,
134- [ ] ,
135- ) ;
132+ const getRowId = useCallback ( ( row : TableDataset ) => `${ row . dataset_id } #${ row . version } ` , [ ] ) ;
136133
137134 return (
138135 < DataTable
You can’t perform that action at this time.
0 commit comments