From c7710ba1df25e84e3517b803459efd432031ad65 Mon Sep 17 00:00:00 2001 From: zhwcreate <3331598351@qq.com> Date: Sat, 9 Nov 2024 22:35:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8Dlink=E6=B0=B4?= =?UTF-8?q?=E5=92=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/float-popover/FloatPopover.tsx | 4 ++-- src/components/ui/markdown/renderbers/Mlink.tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ui/float-popover/FloatPopover.tsx b/src/components/ui/float-popover/FloatPopover.tsx index 44eeda2..ca194a5 100644 --- a/src/components/ui/float-popover/FloatPopover.tsx +++ b/src/components/ui/float-popover/FloatPopover.tsx @@ -192,14 +192,14 @@ const RealFloatPopover = function FloatPopover(props: FloatPopover ref: refs.setReference, }) ) : ( -
{Child} -
+ ); useEffect(() => { diff --git a/src/components/ui/markdown/renderbers/Mlink.tsx b/src/components/ui/markdown/renderbers/Mlink.tsx index 5642afe..d89854e 100644 --- a/src/components/ui/markdown/renderbers/Mlink.tsx +++ b/src/components/ui/markdown/renderbers/Mlink.tsx @@ -5,7 +5,6 @@ import type { FC, ReactNode } from 'react'; import { memo, useCallback } from 'react'; import { FloatPopover } from '@/components/ui/float-popover'; - export const MLink: FC<{ href: string; title?: string;