Skip to content

Commit c65a6ca

Browse files
authored
Merge pull request #109 from LevytsRoman/fix-links
fix links that lead to external websites
2 parents 27e8f52 + 55e1123 commit c65a6ca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/challenges/single.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class SingleChallenge extends Component {
109109
{challenge.source.map((s, key) => (
110110
<p key={ key }>
111111
<strong>{s.name}</strong>
112-
<Link to={s.url}>{ s.url }</Link>
112+
<a href={s.url}>{ s.url }</a>
113113
</p>
114114
))}
115115
</div>

src/containers/about/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import davidImg from '../../assets/images/team/david.png';
88
import corgiImg from '../../assets/images/team/corginson.png';
99
import sydneyImg from '../../assets/images/team/sydney.png';
1010
import { Helmet } from 'react-helmet';
11-
import { Link } from 'react-router-dom';
1211

1312
class About extends React.Component {
1413
render() {
@@ -64,7 +63,7 @@ class About extends React.Component {
6463
new features you want.
6564
</p>
6665
<p>
67-
<Link to="https://github.com/corgicode/frontend-react">Check us out on github</Link>
66+
<a href="https://github.com/corgicode/frontend-react" target="_blank">Check us out on github</a>
6867
</p>
6968
<h2>Zero bad vibes</h2>
7069
<p>

0 commit comments

Comments
 (0)