Converted user and website settings.
This commit is contained in:
1 parent
4c24e54fdd
commit
b5c6194f36
59 files changed
+363
-554
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { DataTable } from '@/components/common/DataTable';
|
||||
import { DataGrid } from '@/components/common/DataGrid';
|
||||
import { useUsers } from '@/components/hooks';
|
||||
import { UsersTable } from './UsersTable';
|
||||
import { ReactNode } from 'react';
|
||||
@@ -13,8 +13,8 @@ export function UsersDataTable({
|
||||
const queryResult = useUsers();
|
||||
|
||||
return (
|
||||
<DataTable queryResult={queryResult} renderEmpty={() => children}>
|
||||
<DataGrid queryResult={queryResult} renderEmpty={() => children}>
|
||||
{({ data }) => <UsersTable data={data} showActions={showActions} />}
|
||||
</DataTable>
|
||||
</DataGrid>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user