chore: remove explicit return

This commit is contained in:
Marvin9
2020-10-15 13:52:18 +05:30
parent fe47cb9f07
commit fe4926cb75
10 changed files with 207 additions and 233 deletions
@@ -21,15 +21,13 @@ type Props = {
children?: React.ReactNode;
};
export const ApiExplorerLayout = ({ children }: Props) => {
return (
<Page themeId="home">
<Header
title="APIs"
subtitle="Backstage API Explorer"
pageTitleOverride="APIs"
/>
{children}
</Page>
);
};
export const ApiExplorerLayout = ({ children }: Props) => (
<Page themeId="home">
<Header
title="APIs"
subtitle="Backstage API Explorer"
pageTitleOverride="APIs"
/>
{children}
</Page>
);