require auth for replies on web

This commit is contained in:
Sean Yesmunt 2020-03-20 15:42:23 -04:00
parent c21015b84f
commit 8f5ac8263d

View file

@ -212,7 +212,13 @@ function Comment(props: Props) {
)} )}
</div> </div>
{!parentId && ( {!parentId && (
<Button button="link" className="comment__reply-button" onClick={handleReply} label={__('Reply')} /> <Button
button="link"
requiresAuth={IS_WEB}
className="comment__reply-button"
onClick={handleReply}
label={__('Reply')}
/>
)} )}
<div> <div>
{isReplying ? ( {isReplying ? (