From 9e469ec325eef37cec96ce99e8e2de6a53fe1278 Mon Sep 17 00:00:00 2001 From: joebochill Date: Mon, 31 Oct 2022 17:10:34 -0400 Subject: [PATCH] Fix broken hash links --- CHANGELOG.md | 2 +- docs/src/__configuration__/markdownMapping.tsx | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 293a2a287..4f4f8f05d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v6.1.1 (October 31, 2022) +## v6.1.1 (November 1, 2022) ### Fixed diff --git a/docs/src/__configuration__/markdownMapping.tsx b/docs/src/__configuration__/markdownMapping.tsx index 5bcac0239..5127cb0ef 100644 --- a/docs/src/__configuration__/markdownMapping.tsx +++ b/docs/src/__configuration__/markdownMapping.tsx @@ -102,21 +102,6 @@ export const componentsMap = { ), a: (props: React.LinkHTMLAttributes): JSX.Element => { let tProps; - if (props.href?.includes('#')) { - tProps = props as TypographyProps<'a'>; - - return ( - theme.palette.primary.main, - }} - {...tProps} - /> - ); - } if (props.href && (props.href.match(/^http/gi) || props.href.match(/^mailto/gi))) { tProps = props as TypographyProps<'a'>; return ;