Don't prefetch links/pixels. Closes #3814

This commit is contained in:
Mike Cao committed 2025-12-03 00:03:56 -08:00
1 parent 1390e09400
commit 16cae691f6
5 files changed
+50 -9

No files matched your search

+7 -2
View File
@@ -1,8 +1,13 @@
import { Icon, Row, Text } from '@umami/react-zen';
import Link from 'next/link';
import Link, { type LinkProps } from 'next/link';
import type { ReactNode } from 'react';
import { ExternalLink as LinkIcon } from '@/components/icons';
export function ExternalLink({ href, children, ...props }) {
export function ExternalLink({
href,
children,
...props
}: LinkProps & { href: string; children: ReactNode }) {
return (
<Row alignItems="center" overflow="hidden" gap>
<Text title={href} truncate>