Skip to content

Commit 7a6c07e

Browse files
Removing unnecessary legacy property from link component
1 parent 0f1265c commit 7a6c07e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/containers/Card.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export default function Card({
1111
{linkText}
1212
</a>
1313
) : (
14-
<Link href={link} legacyBehavior>
15-
{linkText}
16-
</Link>
14+
<Link href={link}>{linkText}</Link>
1715
);
1816
return (
1917
<div

0 commit comments

Comments
 (0)