Skip to content

Commit 6c1906b

Browse files
authored
Merge pull request #31 from uc-cdis/fix/back-link
fix back link
2 parents 70a31df + ea46f84 commit 6c1906b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/NewlyAvailableDatasets/CardedPageContent.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
import Link from 'next/link';
32
import { Text } from '@mantine/core';
43
import CardGrid, { CardGridItem } from './CardGrid';
54
import MultiPartText, { MultiPartTextPart } from './MultiPartText';
@@ -25,9 +24,9 @@ const CardedPageContent = ({
2524
data-testid="carded-page-content-backlink"
2625
className="py-10 text-sm px-10 "
2726
>
28-
<Link legacyBehavior href={'/'}>
27+
<a href={'/'}>
2928
Home&nbsp;
30-
</Link>
29+
</a>
3130
{' > '}
3231
<span className="text-heal-primary">&nbsp;{title}</span>
3332
</div>

0 commit comments

Comments
 (0)