diff --git a/src/resources/users.tsx b/src/resources/users.tsx index eb80dc6..f1085d3 100644 --- a/src/resources/users.tsx +++ b/src/resources/users.tsx @@ -53,6 +53,8 @@ import { useListContext, useNotify, ToolbarClasses, + Identifier, + RaRecord, } from "react-admin"; import { Link } from "react-router-dom"; @@ -140,6 +142,10 @@ const UserBulkActionButtons = () => { }; +const usersRowClick = (id: Identifier, resource: string, record: RaRecord): string => { + return `/users/${id}`; +}; + export const UserList = (props: ListProps) => ( ( actions={} pagination={} > - }> + }>