Skip to content

Commit

Permalink
fix: add legacyBehavior in <Link/>
Browse files Browse the repository at this point in the history
  • Loading branch information
theodesp committed Oct 16, 2024
1 parent 7a8f906 commit 77a3e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/blocks/CoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function CoreButton(props: CoreButtonFragmentProps) {
aria-label={attributes?.text}
id={attributes?.anchor}
className={attributes?.cssClassName}>
<Link href={attributes?.url}>
<Link legacyBehavior href={attributes?.url}>
<a
target={linkTarget}
className={attributes?.linkClassName}
Expand Down

0 comments on commit 77a3e1a

Please sign in to comment.