From 672429c62c201aa1d401af077d6e4dc16802daa1 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 15 Oct 2018 14:36:56 +0200 Subject: [PATCH] Fixed props warning --- src/components/Link/index.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/components/Link/index.js b/src/components/Link/index.js index 80962b9c..5118113e 100644 --- a/src/components/Link/index.js +++ b/src/components/Link/index.js @@ -37,7 +37,7 @@ const A = styled.a` const StyledNavLink = styled(NavLink)` ${props => props.isGreen && css` - color: ${colors.GREEN_PRIMARY}; + color: ${colors.GREEN_PRIMARY}; `} ${props => props.isGray && css` @@ -51,12 +51,7 @@ class Link extends PureComponent { let LinkComponent; if (shouldRenderRouterLink) { LinkComponent = ( - {this.props.children} - ); + {this.props.children}); } else { LinkComponent = (