Fix Link behaviour reloading the page (#3456)

This commit is contained in:
Greg Bergé
2025-07-08 16:30:12 +02:00
committed by GitHub
parent 12c2451f4f
commit abe028bd38
@@ -89,7 +89,7 @@ export const Link = React.forwardRef(function Link(
if (isInIframe && isExternalWithOrigin) {
event.preventDefault();
window.open(href, '_blank', 'noopener noreferrer');
} else {
} else if (isExternal) {
// The external logic server-side is limited
// so we use the client-side logic to determine the real target
// by default the target is "_self".