diff options
-rw-r--r-- | packages/website/ts/@next/components/text.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/text.tsx b/packages/website/ts/@next/components/text.tsx index 738441def..7954a5f28 100644 --- a/packages/website/ts/@next/components/text.tsx +++ b/packages/website/ts/@next/components/text.tsx @@ -44,7 +44,7 @@ const PARAGRAPH_SIZES: ParagraphSizes = { default: '18px', medium: '22px', large: '28px', -} +}; const StyledHeading = styled.h1<HeadingProps>` color: ${props => props.color || colors.white}; @@ -60,7 +60,7 @@ export const Heading: React.StatelessComponent<HeadingProps> = props => { } = props; const Component = StyledHeading.withComponent(asElement); - return <Component {...props}>{ children }</Component>; + return <Component {...props}>{children}</Component>; }; // No need to declare it twice as Styled then rewrap as a stateless comp |