diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 20:36:01 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 20:36:01 +0800 |
commit | 929eb456994e968521fc68139a19e166de360efb (patch) | |
tree | 4785ab34bb11e67578bbd870d8fa44f01ae91458 | |
parent | 4456ba0f6ac24fa39bfa271b4acfa149dade1147 (diff) | |
download | dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar.gz dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar.bz2 dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar.lz dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar.xz dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.tar.zst dexon-sol-tools-929eb456994e968521fc68139a19e166de360efb.zip |
Linting
-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 |