user fixes

This commit is contained in:
2025-11-01 08:39:11 +05:30
parent 5871d9f8cf
commit faf0baf248
5 changed files with 49 additions and 5 deletions

View File

@@ -152,7 +152,7 @@ export const CommentsPanel: React.FC<CommentsPageProps> = ({
<div className="flex items-center justify-between">
<div className="flex items-center gap-1">
<span className="text-xs font-medium text-foreground">
{comment.author}
{currentUser && comment.authorId === currentUser.id ? 'You' : comment.author}
</span>
{comment.lineNumber !== null && (
<Badge