From 6e1014a64755757777ddc0a58b2d409590efe42e Mon Sep 17 00:00:00 2001
From: August Skare <post@augustskare.no>
Date: Mon, 19 Nov 2018 09:47:34 +0100
Subject: remove unnecessary children in Interface

---
 packages/dev-tools-pages/ts/components/Hero.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'packages/dev-tools-pages/ts/components/Hero.tsx')

diff --git a/packages/dev-tools-pages/ts/components/Hero.tsx b/packages/dev-tools-pages/ts/components/Hero.tsx
index 9db15cb36..8b6d6ade3 100644
--- a/packages/dev-tools-pages/ts/components/Hero.tsx
+++ b/packages/dev-tools-pages/ts/components/Hero.tsx
@@ -7,11 +7,7 @@ import { media } from 'ts/variables';
 import { Button } from './Button';
 import { Beta } from './Typography';
 
-interface HeroProps extends ContextInterface {
-    children: React.ReactNode;
-}
-
-const Hero: React.StatelessComponent<HeroProps> = ({ children }) => (
+const Hero: React.StatelessComponent<ContextInterface> = ({ children }) => (
     <ThemeContext.Consumer>
         {({ subtitle, tagline }: ContextInterface) => (
             <StyledHero>
-- 
cgit v1.2.3

