A few react-admin upgrades
as per https://marmelab.com/react-admin/Upgrade.html
This commit is contained in:
parent
cdccc7f062
commit
49650795df
6 changed files with 41 additions and 34 deletions
|
|
@ -9,10 +9,10 @@ import {
|
|||
import { useSession } from "next-auth/react";
|
||||
import { UserRoleInput } from "./shared";
|
||||
|
||||
const UserCreate: FC<CreateProps> = (props: any) => {
|
||||
const UserCreate: FC<CreateProps> = () => {
|
||||
const { data: session } = useSession();
|
||||
return (
|
||||
<Create {...props} title="Create Users">
|
||||
<Create title="Create Users">
|
||||
<SimpleForm>
|
||||
<TextInput source="email" />
|
||||
<TextInput source="name" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue