mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
fix: Remove anchor hack from internal-link
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
a7fd14a3d4
commit
6d30448157
1 changed files with 6 additions and 8 deletions
|
@ -31,14 +31,12 @@ export const InternalLink: React.FC<LinkWithTextProps> = ({
|
|||
title
|
||||
}) => {
|
||||
return (
|
||||
<Link href={href}>
|
||||
<a className={className} id={id} title={title}>
|
||||
<ShowIf condition={!!icon}>
|
||||
<ForkAwesomeIcon icon={icon as IconName} fixedWidth={true} />
|
||||
|
||||
</ShowIf>
|
||||
{text}
|
||||
</a>
|
||||
<Link href={href} className={className} id={id} title={title}>
|
||||
<ShowIf condition={!!icon}>
|
||||
<ForkAwesomeIcon icon={icon as IconName} fixedWidth={true} />
|
||||
|
||||
</ShowIf>
|
||||
{text}
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue