Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinto committed Aug 28, 2024
1 parent 89d12d1 commit e47ffef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/common/MessageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ const MessageHeader: FC<MessageHeaderProps> = props => {
<Typography variant="title2-regular" component="div" className={classes.headerMeta}>
{!isUserMessage && (
<>
<span data-testid="sender-name" className={classes["avatar-name"]}>{name}</span>
<span data-testid="sender-name" className={classes["avatar-name"]}>
{name}
</span>
<HeaderEllipsis />
</>
)}
Expand Down
1 change: 0 additions & 1 deletion test/Avatar.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { it, describe, expect } from "vitest";
import Message from "src/messages/Message";

describe("Avatars", () => {

const defaultAgentAvatarUrl = "/src/assets/svg/avatar_placeholder.svg";
const customAvatarUrl = "https://placewaifu/image/100/100";
const agentAvatarOverrideUrlOnce = "https://placewaifu/image/300/300";
Expand Down

0 comments on commit e47ffef

Please sign in to comment.