From b9829c18c5ddb66b63d76ab43d53bb3987bfcd87 Mon Sep 17 00:00:00 2001 From: andrico Date: Thu, 20 Feb 2020 08:37:27 +0000 Subject: [PATCH] fix bad style --- src/components/SkillCountSubtitle.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/SkillCountSubtitle.tsx b/src/components/SkillCountSubtitle.tsx index 5710b7c..0185a35 100644 --- a/src/components/SkillCountSubtitle.tsx +++ b/src/components/SkillCountSubtitle.tsx @@ -6,13 +6,11 @@ function SkillCountSubtitle() { const { skillCount } = useContext(SkillContext); return ( - - {skillCount} skills - + {skillCount} skills ); } -const StyledSkillCountSubtitle = styled.div` +const StyledSkillCountSubtitle = styled.p` font-family: ${({ theme }) => theme.headingFont}; margin-top: 0; text-align: center;