Fix unrecognized prop

This commit is contained in:
Rafael 2022-02-05 08:18:23 -03:00 committed by Thomas Zarebczan
parent 25182c7dcf
commit 87523570cf

View file

@ -463,7 +463,7 @@ export function CommentCreate(props: Props) {
const commentSelectorsProps = { claimIsMine, addEmoteToComment, handleSelectSticker };
const submitButtonProps = { button: 'primary', type: 'submit', requiresAuth: true };
const actionButtonProps = { button: 'alt', isReviewingStickerComment };
const actionButtonProps = { button: 'alt' };
const tipButtonProps = {
...actionButtonProps,
disabled: !commentValue.length && !selectedSticker,
@ -617,7 +617,12 @@ export function CommentCreate(props: Props) {
{!isMobile && (
<>
<StickerActionButton {...actionButtonProps} icon={ICONS.STICKER} onClick={handleStickerComment} />
<StickerActionButton
{...actionButtonProps}
isReviewingStickerComment={isReviewingStickerComment}
icon={ICONS.STICKER}
onClick={handleStickerComment}
/>
{!supportDisabled && (
<>