diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Content.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Content.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/dev-tools-pages/ts/components/Content.tsx b/packages/dev-tools-pages/ts/components/Content.tsx index 6c0270dbc..506f94fab 100644 --- a/packages/dev-tools-pages/ts/components/Content.tsx +++ b/packages/dev-tools-pages/ts/components/Content.tsx @@ -21,8 +21,6 @@ const StyledMain = `; interface MainProps { - title?: string; - subtitle?: string; dark?: boolean; children: React.ReactNode; } @@ -30,13 +28,7 @@ interface MainProps { function Main(props: MainProps) { return ( <StyledMain dark={props.dark}> - <Container> - <ContentBlock main title={props.title || 'Get started'}> - {props.subtitle ? <Beta as="p">{props.subtitle}</Beta> : null} - </ContentBlock> - - {props.children} - </Container> + <Container>{props.children}</Container> </StyledMain> ); } |