fix: documentation mailto link

This commit is contained in:
Valerio Ageno
2024-08-16 11:05:49 +02:00
parent edd8a02423
commit 63fc2b9855
@@ -6,7 +6,7 @@ import { IconExternalLink } from '@tabler/icons-react'
export default function MdxLink(
props: AnchorHTMLAttributes<HTMLAnchorElement>,
): JSX.Element {
if (props.href?.startsWith('http')) {
if (props.href?.startsWith('http') || props.href?.startsWith('mailto')) {
return (
<Button
component="a"