about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-23 12:21:38 +0900
committerEugen <eugen@zeonfederated.com>2017-04-23 05:21:38 +0200
commit219fb317eeee47e91066b8baebcaf02ef9e0c0bf (patch)
treee514c77ccbdd87eaaef9bf9748dc3bedc4d8554f
parent66fd8e782182390df81f1ed46f3a04f3a01d681e (diff)
Remove unnecessary variable in ColumnLink component (#2341)
Fix bug in cca41ea544fe7de3e7afdc250992a1c6e48d2a31 .
-rw-r--r--app/assets/javascripts/components/features/ui/components/column_link.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/column_link.jsx b/app/assets/javascripts/components/features/ui/components/column_link.jsx
index 77a9b3bd8..820e4246a 100644
--- a/app/assets/javascripts/components/features/ui/components/column_link.jsx
+++ b/app/assets/javascripts/components/features/ui/components/column_link.jsx
@@ -4,7 +4,7 @@ import { Link } from 'react-router';
 const ColumnLink = ({ icon, text, to, href, method, hideOnMobile }) => {
   if (href) {
     return (
-      <a href={href} style={outerStyle} className={`column-link ${hideOnMobile ? 'hidden-on-mobile' : ''}`} data-method={method}>
+      <a href={href} className={`column-link ${hideOnMobile ? 'hidden-on-mobile' : ''}`} data-method={method}>
         <i className={`fa fa-fw fa-${icon} column-link__icon`} />
         {text}
       </a>