Fix ReactAdmin console warnings

This commit is contained in:
Deluan
2020-04-03 21:03:34 -04:00
parent 096ed396c8
commit b8f7715a74
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const UserCreate = (props) => (
<TextInput source="name" validate={[required()]} />
<TextInput source="email" validate={[required(), email()]} />
<PasswordInput source="password" validate={[required()]} />
<BooleanInput source="isAdmin" initialValue={false} />
<BooleanInput source="isAdmin" defaultValue={false} />
</SimpleForm>
</Create>
)