Skip to content

Commit f278b42

Browse files
committed
fix prettier error
1 parent d7705a4 commit f278b42

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/ra-ui-materialui/src/input/TextInput.stories.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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 />

0 commit comments

Comments
 (0)