diff --git a/CHANGELOG.md b/CHANGELOG.md index fb3ef272b..e72a0b68b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Added \ and = to reserved symbol warning _community pr!_ ([#6733](https://github.com/lbryio/lbry-desktop/pull/6733)) - Don't break words in chat + fix text overflow past 3 dot menu _community pr!_ ([#6602](https://github.com/lbryio/lbry-desktop/pull/6602)) - Fix embed shows wrong OG metadata _community pr!_ ([#6815](https://github.com/lbryio/lbry-desktop/pull/6815)) +- Fix comment section redirection to create channel _community pr!_ ([#6557](https://github.com/lbryio/lbry-desktop/pull/6557)) ## [0.51.1] - [2021-06-26] diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index 8e113f269..959162c2b 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -49,7 +49,6 @@ type Props = { claimIsMine: boolean, sendTip: ({}, (any) => void, (any) => void) => void, doToast: ({ message: string }) => void, - disabled: boolean, }; export function CommentCreate(props: Props) { @@ -90,7 +89,7 @@ export function CommentCreate(props: Props) { const charCount = commentValue.length; const [activeTab, setActiveTab] = React.useState(''); const [tipError, setTipError] = React.useState(); - const disabled = isSubmitting || !activeChannelClaim || !commentValue.length; + const disabled = isSubmitting || isFetchingChannels || !commentValue.length; const [shouldDisableReviewButton, setShouldDisableReviewButton] = React.useState(); function handleCommentChange(event) { @@ -270,7 +269,7 @@ export function CommentCreate(props: Props) { return ; } - if (!hasChannels) { + if (!isFetchingChannels && !hasChannels) { return (
setIsReviewingSupportComment(true)} + requiresAuth={IS_WEB} />