Skip to content

Commit

Permalink
fix bad style
Browse files Browse the repository at this point in the history
  • Loading branch information
andrico1234 committed Feb 20, 2020
1 parent c0bd8e7 commit b9829c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/SkillCountSubtitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ function SkillCountSubtitle() {
const { skillCount } = useContext(SkillContext);

return (
<StyledSkillCountSubtitle style={{ marginTop: 0, textAlign: 'center' }}>
{skillCount} skills
</StyledSkillCountSubtitle>
<StyledSkillCountSubtitle>{skillCount} skills</StyledSkillCountSubtitle>
);
}

const StyledSkillCountSubtitle = styled.div`
const StyledSkillCountSubtitle = styled.p`
font-family: ${({ theme }) => theme.headingFont};
margin-top: 0;
text-align: center;
Expand Down

0 comments on commit b9829c1

Please sign in to comment.