From 0b46f44ad37afb17341b394b16e3317e3bbbd285 Mon Sep 17 00:00:00 2001 From: August Skare Date: Mon, 19 Nov 2018 09:32:53 +0100 Subject: fix typings for components in header --- packages/dev-tools-pages/ts/components/Header.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'packages/dev-tools-pages/ts/components/Header.tsx') diff --git a/packages/dev-tools-pages/ts/components/Header.tsx b/packages/dev-tools-pages/ts/components/Header.tsx index 153746aef..94714c0af 100644 --- a/packages/dev-tools-pages/ts/components/Header.tsx +++ b/packages/dev-tools-pages/ts/components/Header.tsx @@ -13,7 +13,7 @@ const Header: React.StatelessComponent<{}> = () => ( - + {title} @@ -50,7 +50,7 @@ const LogoMark = styled.div` align-items: center; `; -const StyledLogo = styled.div` +const Logo = styled.div` color: ${props => props.theme.colors.main}; width: 1.75rem; height: 100%; @@ -67,13 +67,10 @@ const Title = styled.h1` ${media.small`font-size: 1.25rem;`}; `; -const StyledLink = styled(Small)` +const Link = styled(Small)` :hover { text-decoration: underline; } `; -const Link = StyledLink as any; -const Logo = StyledLogo as any; - export { Header }; -- cgit