Skip to content

Commit

Permalink
Removing unnecessary legacy property from link component
Browse files Browse the repository at this point in the history
  • Loading branch information
mariana-caldas committed Nov 28, 2022
1 parent 0f1265c commit 7a6c07e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/containers/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export default function Card({
{linkText}
</a>
) : (
<Link href={link} legacyBehavior>
{linkText}
</Link>
<Link href={link}>{linkText}</Link>
);
return (
<div
Expand Down

0 comments on commit 7a6c07e

Please sign in to comment.