From 09fb2fc0cd239d7ebc1b41f84129a492e6167501 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 14 Jan 2019 18:34:22 +0200 Subject: [PATCH] Fix external links --- src/components/Icon/Icon.tsx | 7 +++---- src/pages/FrontPage/FrontPage.tsx | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/Icon/Icon.tsx b/src/components/Icon/Icon.tsx index e30bc91..a344bcd 100644 --- a/src/components/Icon/Icon.tsx +++ b/src/components/Icon/Icon.tsx @@ -1,5 +1,4 @@ import * as React from "react"; -import { Link } from "react-router-dom"; import "./Icon.scss"; export enum IconType { @@ -63,13 +62,13 @@ class Icon extends React.Component { const elem = nameToIcon(name); if (link) { return ( - {elem} - + ); } else { return ( diff --git a/src/pages/FrontPage/FrontPage.tsx b/src/pages/FrontPage/FrontPage.tsx index 760e800..d2bcbff 100644 --- a/src/pages/FrontPage/FrontPage.tsx +++ b/src/pages/FrontPage/FrontPage.tsx @@ -144,7 +144,7 @@ class FrontPage extends React.Component {

Sössöä vuodesta 1969.

- Lue opiskelijalehden viimeisin numero › + Lue opiskelijalehden viimeisin numero ›