diff --git a/src/resources/users.tsx b/src/resources/users.tsx index ff99282..cb06aa3 100644 --- a/src/resources/users.tsx +++ b/src/resources/users.tsx @@ -52,7 +52,6 @@ import { useListContext, useNotify, ToolbarClasses, - Identifier, RaRecord, ImageInput, ImageField, @@ -161,7 +160,7 @@ export const UserList = (props: ListProps) => ( pagination={} > }> - + @@ -212,7 +211,7 @@ const UserEditActions = () => { export const UserCreate = (props: CreateProps) => ( { + redirect={(resource: string | undefined, id: Identifier | undefined) => { return `users/${id}`; }} >