Skip to content

Commit

Permalink
Update EncounterNotesTab.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
shauryag2002 authored Jan 18, 2025
1 parent 4f57530 commit 766d77a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/pages/Encounters/tabs/EncounterNotesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,7 @@ const MessageItem = ({ message }: { message: Message }) => {
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<div
className="flex cursor-pointer"
onClick={navigateToUser}
>
<div className="flex cursor-pointer" onClick={navigateToUser}>
<Avatar
name={message.created_by.username}
imageUrl={message.created_by.profile_picture_url}
Expand All @@ -183,10 +180,7 @@ const MessageItem = ({ message }: { message: Message }) => {
isCurrentUser ? "items-end" : "items-start",
)}
>
<span
className="text-xs text-gray-500 mb-1 cursor-pointer"
onClick={navigateToUser}
>
<span className="text-xs text-gray-500 mb-1 cursor-pointer" onClick={navigateToUser}>

Check failure on line 183 in src/pages/Encounters/tabs/EncounterNotesTab.tsx

View workflow job for this annotation

GitHub Actions / cypress-run (1)

Replace `<span·className="text-xs·text-gray-500·mb-1·cursor-pointer"·onClick={navigateToUser}` with `·<span⏎············className="text-xs·text-gray-500·mb-1·cursor-pointer"⏎············onClick={navigateToUser}⏎··········`

Check failure on line 183 in src/pages/Encounters/tabs/EncounterNotesTab.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `<span·className="text-xs·text-gray-500·mb-1·cursor-pointer"·onClick={navigateToUser}` with `·<span⏎············className="text-xs·text-gray-500·mb-1·cursor-pointer"⏎············onClick={navigateToUser}⏎··········`
{message.created_by.username}
</span>
<div
Expand Down

0 comments on commit 766d77a

Please sign in to comment.