Remove unnecessary variable in ColumnLink component (#2341)
Fix bug in c4e3be68d1 .
			
			
This commit is contained in:
		
							parent
							
								
									227f45402d
								
							
						
					
					
						commit
						b4bb7f8333
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@ import { Link } from 'react-router';
 | 
				
			||||||
const ColumnLink = ({ icon, text, to, href, method, hideOnMobile }) => {
 | 
					const ColumnLink = ({ icon, text, to, href, method, hideOnMobile }) => {
 | 
				
			||||||
  if (href) {
 | 
					  if (href) {
 | 
				
			||||||
    return (
 | 
					    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`} />
 | 
					        <i className={`fa fa-fw fa-${icon} column-link__icon`} />
 | 
				
			||||||
        {text}
 | 
					        {text}
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue