diff --git a/ui/component/commentCreate/comment-selectors.jsx b/ui/component/commentCreate/comment-selectors.jsx index d803e8409..0e06f66d5 100644 --- a/ui/component/commentCreate/comment-selectors.jsx +++ b/ui/component/commentCreate/comment-selectors.jsx @@ -9,20 +9,26 @@ import React from 'react'; import { Tabs, TabList, Tab, TabPanels, TabPanel } from 'component/common/tabs'; import { FREE_GLOBAL_STICKERS, PAID_GLOBAL_STICKERS } from 'constants/stickers'; +export const SELECTOR_TABS = { + EMOJI: 0, + STICKER: 1, +}; + type Props = { claimIsMine?: boolean, + openTab?: number, addEmoteToComment: (string) => void, handleSelectSticker: (any) => void, closeSelector?: () => void, }; export default function CommentSelectors(props: Props) { - const { claimIsMine, addEmoteToComment, handleSelectSticker, closeSelector } = props; + const { claimIsMine, openTab, addEmoteToComment, handleSelectSticker, closeSelector } = props; const tabProps = { closeSelector }; return ( - + {__('Emojis')} {__('Stickers')} diff --git a/ui/component/commentCreate/sticker-contents.jsx b/ui/component/commentCreate/sticker-contents.jsx index c1ecad87e..b950d681f 100644 --- a/ui/component/commentCreate/sticker-contents.jsx +++ b/ui/component/commentCreate/sticker-contents.jsx @@ -50,10 +50,6 @@ export const StickerActionButton = (stickerButtonProps: StickerButtonProps) => { const { isReviewingStickerComment, ...buttonProps } = stickerButtonProps; return ( -