diff --git a/src/components/shared/MDLabel/MDLabel.tsx b/src/components/shared/MDLabel/MDLabel.tsx index b3529fbcc..eeadee2e6 100644 --- a/src/components/shared/MDLabel/MDLabel.tsx +++ b/src/components/shared/MDLabel/MDLabel.tsx @@ -1,9 +1,4 @@ -import { - type ComponentProps, - Fragment, - type PropsWithChildren, - type ReactNode, -} from 'react'; +import { Fragment, type PropsWithChildren } from 'react'; import Markdown, { type Components } from 'react-markdown'; import { MarkdownLink } from './MarkdownLink'; import remarkBreaks from 'remark-breaks'; diff --git a/src/components/shared/MDLabel/MarkdownLink.tsx b/src/components/shared/MDLabel/MarkdownLink.tsx index 2c4645328..3506ef3b4 100644 --- a/src/components/shared/MDLabel/MarkdownLink.tsx +++ b/src/components/shared/MDLabel/MarkdownLink.tsx @@ -19,13 +19,19 @@ export const MarkdownLink = slottableComponent( return ( <> {isAbsoluteLink ? ( - - {children} - - ) : ( {children} + ) : ( + + {children} + )} {tooltip && (