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 = () => (
197197 < Resource
198198 name = "posts"
199199 create = { ( ) => (
200- < Create
201- resource = "posts"
202- record = { { title : 'Lorem ipsum' } }
203- >
200+ < Create resource = "posts" record = { { title : 'Lorem ipsum' } } >
204201 < SimpleForm toolbar = { AlwaysOnToolbar } >
205202 < TextInput source = "title" />
206203 < FormInspector />
@@ -234,10 +231,7 @@ export const ServerValidationError = () => (
234231 < Resource
235232 name = "posts"
236233 create = { ( ) => (
237- < Create
238- resource = "posts"
239- record = { { title : 'Lorem ipsum' } }
240- >
234+ < Create resource = "posts" record = { { title : 'Lorem ipsum' } } >
241235 < SimpleForm toolbar = { AlwaysOnToolbar } >
242236 < TextInput source = "title" />
243237 < FormInspector />
You can’t perform that action at this time.
0 commit comments