Skip to content

Commit ed3c8e3

Browse files
Comments Deletion/Hiding/Edit Auth
1 parent a04e240 commit ed3c8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shared/comments/DisplayComments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function DisplayComments(props: DisplayCommentsProps) {
4646
</a>
4747

4848
<Menu as="div" className="absolute right-0 inline-block flex-shrink-0 text-left">
49-
<Menu.Button className="group relative inline-flex h-8 w-8 items-center justify-center rounded-full">
49+
<Menu.Button className="group relative inline-flex h-8 w-8 items-center justify-center rounded-full disabled:cursor-not-allowed disabled:opacity-50" disabled={comment.created_by != user.id}>
5050
<span className="flex h-full w-full items-center justify-center rounded-full">
5151
<IconDotsVertical
5252
size={24}

0 commit comments

Comments
 (0)