From 980baffbc13c35e08e7f4c9b56762171c65334ee Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 7 Sep 2022 14:24:16 +0100 Subject: [PATCH] [Beta] Don't animate links --- beta/src/components/MDX/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/components/MDX/Link.tsx b/beta/src/components/MDX/Link.tsx index 8ada583e..3262bafc 100644 --- a/beta/src/components/MDX/Link.tsx +++ b/beta/src/components/MDX/Link.tsx @@ -15,7 +15,7 @@ function Link({ ...props }: JSX.IntrinsicElements['a']) { const classes = - 'inline text-link dark:text-link-dark break-normal border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal'; + 'inline text-link dark:text-link-dark break-normal border-b border-link border-opacity-0 hover:border-opacity-100 leading-normal'; const modifiedChildren = React.Children.toArray(children).map( (child: any) => { if (child.type?.mdxName && child.type?.mdxName === 'inlineCode') {