mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
feat(web): improve comment editing and mention rendering
This commit is contained in:
parent
f008acecfc
commit
0b675dfc3b
4 changed files with 29 additions and 21 deletions
|
|
@ -116,7 +116,7 @@ export function CommentItem({
|
|||
membersLoading = false,
|
||||
}: CommentItemProps) {
|
||||
const [{ data: currentUser }] = useAtom(currentUserAtom);
|
||||
|
||||
|
||||
const isCurrentUser = currentUser?.id === comment.author?.id;
|
||||
const displayName = isCurrentUser
|
||||
? "Me"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue