From 63fc2b9855b5393ca94e4150a4a9e2b43d71474d Mon Sep 17 00:00:00 2001 From: Valerio Ageno Date: Fri, 16 Aug 2024 11:05:49 +0200 Subject: [PATCH] fix: documentation mailto link --- .../src/components/mdx-provider/mdx-link/mdx-link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documentation/src/components/mdx-provider/mdx-link/mdx-link.tsx b/apps/documentation/src/components/mdx-provider/mdx-link/mdx-link.tsx index dedad629..5ad4678d 100644 --- a/apps/documentation/src/components/mdx-provider/mdx-link/mdx-link.tsx +++ b/apps/documentation/src/components/mdx-provider/mdx-link/mdx-link.tsx @@ -6,7 +6,7 @@ import { IconExternalLink } from '@tabler/icons-react' export default function MdxLink( props: AnchorHTMLAttributes, ): JSX.Element { - if (props.href?.startsWith('http')) { + if (props.href?.startsWith('http') || props.href?.startsWith('mailto')) { return (