Skip to content

Commit

Permalink
refactor: add comment about a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Jan 6, 2025
1 parent 144a1b0 commit 4bf6070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/src/components/message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ export default function Message(props: {
<div className='videochat-icon'>
<span className='icon videocamera' />
</div>
{/* FYI the clickable element is not a semantic button.
Here it's probably fine. */}
<AvatarFromContact contact={message.sender} onClick={onContactClick} />
<div className='break' />
<div
Expand Down

0 comments on commit 4bf6070

Please sign in to comment.