blob: 0b3d660bbe39e5031644371719464a25f58c49a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { DataGrid } from '@/components/common/DataGrid';
import { useLinksQuery, useNavigation } from '@/components/hooks';
import { LinksTable } from './LinksTable';
export function LinksDataTable() {
const { teamId } = useNavigation();
const query = useLinksQuery({ teamId });
return (
<DataGrid query={query} allowSearch={true} autoFocus={false} allowPaging={true}>
{({ data }) => <LinksTable data={data} />}
</DataGrid>
);
}
|