Skip to content

Commit

Permalink
Merge pull request #2198 from YBY2020/main
Browse files Browse the repository at this point in the history
perf : 代码细节优化
  • Loading branch information
Yidadaa authored Jun 30, 2023
2 parents 0ec4cc2 + 8f6f708 commit 5d6e7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ export function Chat() {
}}
></IconButton>
</div>
{message.role === "user" ? (
{isUser ? (
<Avatar avatar={config.avatar} />
) : (
<MaskAvatar mask={session.mask} />
Expand Down

0 comments on commit 5d6e7de

Please sign in to comment.