From 5c0736732fa44a7286158d5a5cdfb5ae62be046c Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 4 Jan 2023 00:03:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E5=8F=8Atag=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8Dfallback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/web/plugins/com.msgbyte.bbcode/src/tags/MentionTag.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/web/plugins/com.msgbyte.bbcode/src/tags/MentionTag.tsx b/client/web/plugins/com.msgbyte.bbcode/src/tags/MentionTag.tsx index 3a373642..5a02a183 100644 --- a/client/web/plugins/com.msgbyte.bbcode/src/tags/MentionTag.tsx +++ b/client/web/plugins/com.msgbyte.bbcode/src/tags/MentionTag.tsx @@ -1,3 +1,4 @@ +import { UserName } from '@capital/component'; import React from 'react'; import type { TagProps } from '../bbcode/type'; @@ -8,7 +9,7 @@ export const MentionTag: React.FC = React.memo((props) => { return ( - @{userName} + @{userName ?? } ); });