Skip to content

Commit d7705a4

Browse files
Simplify stories
1 parent 88e2d1d commit d7705a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ export const ServerError = () => (
199199
create={() => (
200200
<Create
201201
resource="posts"
202-
record={{ id: 123, title: 'Lorem ipsum' }}
203-
sx={{ width: 600 }}
202+
record={{ title: 'Lorem ipsum' }}
204203
>
205204
<SimpleForm toolbar={AlwaysOnToolbar}>
206205
<TextInput source="title" />
@@ -237,8 +236,7 @@ export const ServerValidationError = () => (
237236
create={() => (
238237
<Create
239238
resource="posts"
240-
record={{ id: 123, title: 'Lorem ipsum' }}
241-
sx={{ width: 600 }}
239+
record={{ title: 'Lorem ipsum' }}
242240
>
243241
<SimpleForm toolbar={AlwaysOnToolbar}>
244242
<TextInput source="title" />

0 commit comments

Comments
 (0)