/* eslint-disable jsx-a11y/anchor-has-content */ import Link from 'next/link' import type { LinkProps } from 'next/link' import { AnchorHTMLAttributes } from 'react' const CustomLink = ({ href, ...rest }: LinkProps & AnchorHTMLAttributes) => { const isInternalLink = href && href.startsWith('/') const isAnchorLink = href && href.startsWith('#') if (isInternalLink) { return } if (isAnchorLink) { return } return } export default CustomLink