Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jun 15, 2019
1 parent a2aa5cd commit 708f445
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/ra-core/src/controller/EditController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ interface Props {
* export default App;
*/
const EditController = (props: Props) => {
useCheckMinimumRequiredProps('Edit', ['basePath', 'resource', 'children'], props);
useCheckMinimumRequiredProps(
'Edit',
['basePath', 'resource', 'children'],
props
);
const { basePath, children, id, resource, undoable } = props;
const translate = useTranslate();
const dispatch = useDispatch();
Expand Down
6 changes: 5 additions & 1 deletion packages/ra-core/src/controller/ShowController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ interface Props {
* export default App;
*/
const ShowController = (props: Props) => {
useCheckMinimumRequiredProps('Show', ['basePath', 'resource', 'children'], props);
useCheckMinimumRequiredProps(
'Show',
['basePath', 'resource', 'children'],
props
);
const { basePath, children, id, resource } = props;
const translate = useTranslate();
const version = useVersion();
Expand Down

0 comments on commit 708f445

Please sign in to comment.