Merge pull request #7029 from awanlin/topic/add-homepagetimer-to-new-homepage
Added the HomepageTimer to the new composable Home Page
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
import React, { ReactNode } from 'react';
|
||||
import { useOutlet } from 'react-router';
|
||||
import { Content, Header, Page } from '@backstage/core-components';
|
||||
|
||||
export const HomepageCompositionRoot = (props: {
|
||||
title?: string;
|
||||
@@ -24,10 +23,5 @@ export const HomepageCompositionRoot = (props: {
|
||||
}) => {
|
||||
const outlet = useOutlet();
|
||||
const children = props.children ?? outlet;
|
||||
return (
|
||||
<Page themeId="home">
|
||||
<Header title={props.title ?? 'Home'} />
|
||||
<Content>{children}</Content>
|
||||
</Page>
|
||||
);
|
||||
return <>{children}</>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user