Browse Source

Remove unnecessary variable in ColumnLink component (#2341)

Fix bug in cca41ea544 .
closed-social-v3
Yamagishi Kazutoshi 7 years ago
committed by Eugen
parent
commit
219fb317ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/ui/components/column_link.jsx

+ 1
- 1
app/assets/javascripts/components/features/ui/components/column_link.jsx View 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>

Loading…
Cancel
Save