Skip to content

Commit

Permalink
£Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 7, 2022
1 parent 5123443 commit 788c774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ export const PostEdit = () => (
- <TextInput source="id" />
<TextInput source="title" />
- <TextInput source="body" />
+ <TextInput source="body" multiline />
+ <TextInput source="body" multiline rows={5} />
</SimpleForm>
</Edit>
);
Expand Down Expand Up @@ -665,7 +665,7 @@ export const PostEdit = () => (
+ <SimpleForm>
+ <ReferenceInput source="userId" reference="users" />
+ <TextInput source="title" />
+ <TextInput source="body" multiline />
+ <TextInput source="body" multiline rows={5} />
+ </SimpleForm>
+ </Create>
+);
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorial/src/posts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const PostEdit = () => (
<TextInput source="id" disabled />
<ReferenceInput source="userId" reference="users" />
<TextInput source="title" />
<TextInput source="body" multiline />
<TextInput source="body" multiline rows={5} />
</SimpleForm>
</Edit>
);
Expand All @@ -49,7 +49,7 @@ export const PostCreate = () => (
<SimpleForm>
<ReferenceInput source="userId" reference="users" />
<TextInput source="title" />
<TextInput source="body" multiline />
<TextInput source="body" multiline rows={5} />
</SimpleForm>
</Create>
);

0 comments on commit 788c774

Please sign in to comment.