diff --git a/static/app-strings.json b/static/app-strings.json index 0d2718541..99b65f1ec 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2238,5 +2238,6 @@ "Failed to view lbry://@Destiny#6/destiny-crashes-conservative-panel-w#a, please try again. If this problem persists, visit https://lbry.com/faq/support for support.": "Failed to view lbry://@Destiny#6/destiny-crashes-conservative-panel-w#a, please try again. If this problem persists, visit https://lbry.com/faq/support for support.", "A channel is required to repost on LBRY": "A channel is required to repost on LBRY", "Failed to view lbry://@gatogalactico#9/gato-galactico-e-as-estrelas-ninja-dos#1, please try again. If this problem persists, visit https://lbry.com/faq/support for support.": "Failed to view lbry://@gatogalactico#9/gato-galactico-e-as-estrelas-ninja-dos#1, please try again. If this problem persists, visit https://lbry.com/faq/support for support.", + "Admin": "Admin", "--end--": "--end--" } diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index 2ef7f36ad..07a8a6a5c 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -32,7 +32,7 @@ const MENTION_DEBOUNCE_MS = 100; type Props = { uri: string, claim: StreamClaim, - channels: ?Array, + hasChannels: boolean, isNested: boolean, isFetchingChannels: boolean, parentId: string, @@ -60,7 +60,7 @@ export function CommentCreate(props: Props) { const { uri, claim, - channels, + hasChannels, isNested, isFetchingChannels, isReply, @@ -123,7 +123,6 @@ export function CommentCreate(props: Props) { const claimId = claim && claim.claim_id; const signingChannel = (claim && claim.signing_channel) || claim; const channelUri = signingChannel && signingChannel.permanent_url; - const hasChannels = channels && channels.length; const charCount = commentValue ? commentValue.length : 0; const disabled = deletedComment || isSubmitting || isFetchingChannels || !commentValue.length || pauseQuickSend; const channelId = getChannelIdFromClaim(claim);