import type { FC, ComponentProps } from 'react'; import { Link as LocalizedLink } from '@/navigation.mjs'; type LinkProps = Omit, 'href'> & { href?: string; }; const Link: FC = ({ children, href, ...props }) => { if (!href || href.toString().startsWith('http')) { return ( {children} ); } return ( {children} ); }; export default Link;