From 575407ab6d30b58e0de8e014427d62381b752eab Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 6 Jun 2020 11:45:54 +0200 Subject: [PATCH] internal links now use the Link component instead of the LinkContainer component, because the later is intended for use with react-bootstrap components and not for simple translated strings. Signed-off-by: Philip Molares --- src/components/links/internal-link.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/links/internal-link.tsx b/src/components/links/internal-link.tsx index 9ab757031..08520df54 100644 --- a/src/components/links/internal-link.tsx +++ b/src/components/links/internal-link.tsx @@ -1,11 +1,11 @@ import React, { Fragment } from 'react' -import { LinkContainer } from 'react-router-bootstrap' +import { Link } from 'react-router-dom' import { ForkAwesomeIcon } from '../../fork-awesome/fork-awesome-icon' import { LinkWithTextProps } from './types' export const InternalLink: React.FC = ({ href, text, icon, className = 'text-light' }) => { return ( - { @@ -17,6 +17,6 @@ export const InternalLink: React.FC = ({ href, text, icon, cl } {text} - + ) }