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
commit 8f6f70879c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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