Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 4cac126

Browse files
RickRhollomancer
authored andcommitted
Converts social media links to <a>. Fixes #148
1 parent e42277a commit 4cac126

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/shared/components/socialMedia/socialMediaItem/socialMediaItem.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
import { Link } from 'react-router-dom';
32
import PropTypes from 'prop-types';
43
import styles from './socialMediaItem.css';
54

@@ -12,7 +11,7 @@ const SocialMediaItem = (props) => {
1211

1312
return (
1413
<div className={styles.socialMediaItem}>
15-
<Link to={link}><img src={smImage} alt={smText} /></Link>
14+
<a href={link}><img src={smImage} alt={smText} /></a>
1615
</div>
1716
);
1817
};

0 commit comments

Comments
 (0)