Skip to content

Commit

Permalink
(fix) changed <Link> to <a> on social icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabitoesmiapodo committed Mar 27, 2019
1 parent 622a801 commit 2b5e82f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/SocialIcons.js
@@ -1,6 +1,5 @@
import React from "react"
import { IconGithub, IconPOA, IconTelegram, IconTwitter } from "./social-icons"
import { Link } from 'react-router-dom'

export const SocialIcons = () => {
const socialItems = [
Expand All @@ -26,9 +25,9 @@ export const SocialIcons = () => {
<div className="social-icons">
{socialItems.map((item, index) => {
return (
<Link key={index} to={item.link} className="social-icons-item">
<a key={index} href={item.link} target="_blank" className="social-icons-item">
{item.icon}
</Link>
</a>
)
})}
</div>
Expand Down

0 comments on commit 2b5e82f

Please sign in to comment.