fix comment replies (#7367)

This commit is contained in:
jessopb 2021-12-23 11:31:20 -05:00 committed by GitHub
parent 18619cac20
commit 44fd8349a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ export function CommentCreate(props: Props) {
function handleCommentChange(event) {
let commentValue;
if (isReply) {
commentValue = event.target.value;
commentValue = advancedEditor ? event : event.target.value;
} else {
commentValue = advancedEditor ? event : event.target.value;
}
@ -596,20 +596,6 @@ export function CommentCreate(props: Props) {
setActiveTab(TAB_LBC);
}}
/>
{/* @if TARGET='web' */}
{stripeEnvironment && (
<Button
disabled={disabled}
button="alt"
className="thisButton"
icon={ICONS.FINANCE}
onClick={() => {
setIsSupportComment(true);
setActiveTab(TAB_FIAT);
}}
/>
)}
{/* @endif */}
</>
)}
{isReply && !minTip && (