fix username during comment copying

This commit is contained in:
igoradamenko
2018-11-20 23:52:00 +02:00
parent 3e657709eb
commit 11d8338989
+1 -1
View File
@@ -573,7 +573,7 @@ export default class Comment extends Component {
<span className="comment__controls">
{!isCopied && (
<span
{...getHandleClickProps(() => this.copyComment({ username: o.username, time: o.time }))}
{...getHandleClickProps(() => this.copyComment({ username: o.user.name, time: o.time }))}
className="comment__control"
>
Copy