Fix unrecognized prop
This commit is contained in:
parent
25182c7dcf
commit
87523570cf
1 changed files with 7 additions and 2 deletions
|
@ -463,7 +463,7 @@ export function CommentCreate(props: Props) {
|
||||||
|
|
||||||
const commentSelectorsProps = { claimIsMine, addEmoteToComment, handleSelectSticker };
|
const commentSelectorsProps = { claimIsMine, addEmoteToComment, handleSelectSticker };
|
||||||
const submitButtonProps = { button: 'primary', type: 'submit', requiresAuth: true };
|
const submitButtonProps = { button: 'primary', type: 'submit', requiresAuth: true };
|
||||||
const actionButtonProps = { button: 'alt', isReviewingStickerComment };
|
const actionButtonProps = { button: 'alt' };
|
||||||
const tipButtonProps = {
|
const tipButtonProps = {
|
||||||
...actionButtonProps,
|
...actionButtonProps,
|
||||||
disabled: !commentValue.length && !selectedSticker,
|
disabled: !commentValue.length && !selectedSticker,
|
||||||
|
@ -617,7 +617,12 @@ export function CommentCreate(props: Props) {
|
||||||
|
|
||||||
{!isMobile && (
|
{!isMobile && (
|
||||||
<>
|
<>
|
||||||
<StickerActionButton {...actionButtonProps} icon={ICONS.STICKER} onClick={handleStickerComment} />
|
<StickerActionButton
|
||||||
|
{...actionButtonProps}
|
||||||
|
isReviewingStickerComment={isReviewingStickerComment}
|
||||||
|
icon={ICONS.STICKER}
|
||||||
|
onClick={handleStickerComment}
|
||||||
|
/>
|
||||||
|
|
||||||
{!supportDisabled && (
|
{!supportDisabled && (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Add table
Reference in a new issue