Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ export default function Comment ({
}, [item.id, cache, router.query.commentId])

useEffect(() => {
// don't outline muted comments
const isMuted = item.user?.meMute
if (isMuted) return
// checking navigator because outlining should happen only on item pages
if (!navigator || me?.id === item.user?.id) return

Expand Down