]> cat aescling's git repositories - mastodon.git/commitdiff
Remove unnecessary variable in ColumnLink component (#2341)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Sun, 23 Apr 2017 03:21:38 +0000 (12:21 +0900)
committerEugen <eugen@zeonfederated.com>
Sun, 23 Apr 2017 03:21:38 +0000 (05:21 +0200)
Fix bug in cca41ea544fe7de3e7afdc250992a1c6e48d2a31 .

app/assets/javascripts/components/features/ui/components/column_link.jsx

index 77a9b3bd8eec1fce9fdd1b170eb280341cac562d..820e4246a1989445c67ba8f55edae4f1fe93a040 100644 (file)
@@ -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>