File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/ra-ui-materialui/src/input Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -197,10 +197,7 @@ export const ServerError = () => (
197
197
< Resource
198
198
name = "posts"
199
199
create = { ( ) => (
200
- < Create
201
- resource = "posts"
202
- record = { { title : 'Lorem ipsum' } }
203
- >
200
+ < Create resource = "posts" record = { { title : 'Lorem ipsum' } } >
204
201
< SimpleForm toolbar = { AlwaysOnToolbar } >
205
202
< TextInput source = "title" />
206
203
< FormInspector />
@@ -234,10 +231,7 @@ export const ServerValidationError = () => (
234
231
< Resource
235
232
name = "posts"
236
233
create = { ( ) => (
237
- < Create
238
- resource = "posts"
239
- record = { { title : 'Lorem ipsum' } }
240
- >
234
+ < Create resource = "posts" record = { { title : 'Lorem ipsum' } } >
241
235
< SimpleForm toolbar = { AlwaysOnToolbar } >
242
236
< TextInput source = "title" />
243
237
< FormInspector />
You can’t perform that action at this time.
0 commit comments