remove id from preview of comment

This commit is contained in:
igoradamenko
2018-05-13 00:01:50 +03:00
parent 620208a92b
commit c8e5b1871f
+1 -1
View File
@@ -244,7 +244,7 @@ export default class Comment extends Component {
if (mods.view === 'preview') {
return (
<div className={b('comment', props, defaultMods)} id={`${COMMENT_NODE_CLASSNAME_PREFIX}${o.id}`}>
<div className={b('comment', props, defaultMods)}>
<div className="comment__body">
<div className="comment__info">
<a href={`${o.locator.url}#${COMMENT_NODE_CLASSNAME_PREFIX}${o.id}`} className="comment__username">{o.user.name}</a>