Skip to content

Commit

Permalink
fix: seen message text in light mode (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCS authored Aug 22, 2024
1 parent 49f6d5e commit 1081b93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/src/components/Chat/MessageSeen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ const MessageSeen = ({ isRead, isSender }) => {
};
}, [sortedMessages, isTabVisible, observer]);

return isSender && <p className="text-sm">{isRead ? 'Seen' : 'Not Seen'}</p>;
return (
isSender && (
<p className="text-sm dark:text-white text-primary">
{isRead ? 'Seen' : 'Not Seen'}
</p>
)
);
};

export default MessageSeen;
Expand Down

0 comments on commit 1081b93

Please sign in to comment.