From f04267ffc656b4f386e174b1727c09331a271c23 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 29 Apr 2021 15:30:45 -0400 Subject: [PATCH] don't resolve all comment author uris --- ui/component/livestreamComment/view.jsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/ui/component/livestreamComment/view.jsx b/ui/component/livestreamComment/view.jsx index 26380dde7..b6c821912 100644 --- a/ui/component/livestreamComment/view.jsx +++ b/ui/component/livestreamComment/view.jsx @@ -1,13 +1,14 @@ // @flow import * as ICONS from 'constants/icons'; import React from 'react'; +import { parseURI } from 'lbry-redux'; import MarkdownPreview from 'component/common/markdown-preview'; import ChannelThumbnail from 'component/channelThumbnail'; import { Menu, MenuButton } from '@reach/menu-button'; import Icon from 'component/common/icon'; import classnames from 'classnames'; import CommentMenuList from 'component/commentMenuList'; -import UriIndicator from 'component/uriIndicator'; +import Button from 'component/button'; import CreditAmount from 'component/common/credit-amount'; type Props = { @@ -25,6 +26,7 @@ function Comment(props: Props) { const { claim, uri, authorUri, message, commentIsMine, commentId, stakedLevel, supportAmount } = props; const [mouseIsHovering, setMouseHover] = React.useState(false); const commentByOwnerOfContent = claim && claim.signing_channel && claim.signing_channel.permanent_url === authorUri; + const { claimName } = parseURI(authorUri); return (
  • {supportAmount > 0 && }
    - + target="_blank" + navigate={authorUri} + > + {claimName} +