From 11d8338989f3947216de692c7b825aadb07ece3b Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Tue, 20 Nov 2018 23:52:00 +0200 Subject: [PATCH] fix username during comment copying --- web/app/components/comment/comment.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index fe60b18e..dbcfb53f 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -573,7 +573,7 @@ export default class Comment extends Component { {!isCopied && ( this.copyComment({ username: o.username, time: o.time }))} + {...getHandleClickProps(() => this.copyComment({ username: o.user.name, time: o.time }))} className="comment__control" > Copy