Merge pull request #1 from YBY2020/YBY2020-patch-1

perf : 代码细节优化
This commit is contained in:
兀米
2023-06-30 13:30:13 +08:00
committed by GitHub

View File

@@ -922,7 +922,7 @@ export function Chat() {
}}
></IconButton>
</div>
{message.role === "user" ? (
{isUser ? (
<Avatar avatar={config.avatar} />
) : (
<MaskAvatar mask={session.mask} />