Skip to content

Commit 417d213

Browse files
committed
feat(dd): hide likes
1 parent d7577f6 commit 417d213

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Comment/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const Comment: React.FC<CommentProps> = ({data, allowReplies, handleDeletion, ha
150150

151151
</div>
152152
<div className="flex items-center text-gray-400 mt-0.5">
153-
<span className="flex items-center cursor-pointer ml-0.5 mr-2.5">
153+
<span className="flex items-center cursor-pointer ml-0.5 mr-2.5" data-dd-privacy="hidden">
154154
{likes > 0 && likes}
155155
<FontAwesomeIcon
156156
icon={liked ? faSolidHeart : faHeart}

src/components/Post/PostThread.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ const PostThread: React.FC<PostTheadProps> = (props) => {
201201
{likes > 0 && likes}
202202
</div>
203203
<div
204+
data-dd-privacy="hidden"
204205
className={
205206
"-ml-1 cursor-pointer rounded-full bg-red-700 bg-opacity-0 transition-colors duration-200 w-10 h-10 items-center flex justify-center "
206207
+ (props.oldLikes || "group-hover:bg-opacity-10")

0 commit comments

Comments
 (0)