Skip to content

Commit

Permalink
Cleanup basic story
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Dec 19, 2024
1 parent 4dcdbdf commit ce33414
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ const BookEdit = () => {
}}
>
<SimpleForm>
<FormInspector />
<TextInput source="title" />
<ArrayInput source="authors">
<SimpleFormIterator>
<TextInput source="name" />
<TextInput source="role" />
</SimpleFormIterator>
</ArrayInput>
<FormInspector />
</SimpleForm>
</Edit>
);
Expand All @@ -89,6 +89,7 @@ const FormInspector = () => {
</div>
);
};

export const Basic = () => (
<React.StrictMode>
<TestMemoryRouter initialEntries={['/books/1']}>
Expand Down

0 comments on commit ce33414

Please sign in to comment.