fix: open user modal

This commit is contained in:
IlyaDoronin 2023-09-06 11:34:57 +03:00
parent 490f0c0480
commit 7769a7f3e5

@ -36,7 +36,7 @@ export default function ServiceUsersDG({
columns={columns} columns={columns}
components={{ Toolbar: GridToolbar }} components={{ Toolbar: GridToolbar }}
onSelectionModelChange={handleSelectionChange} onSelectionModelChange={handleSelectionChange}
onRowClick={({ row }) => navigate(row.id)} onRowClick={({ row }) => navigate(row._id)}
/> />
) : ( ) : (
<Skeleton>Loading...</Skeleton> <Skeleton>Loading...</Skeleton>