diff --git a/web/app/components/base/emoji-picker/index.tsx b/web/app/components/base/emoji-picker/index.tsx index ee8e4476fb..55ddb7e19c 100644 --- a/web/app/components/base/emoji-picker/index.tsx +++ b/web/app/components/base/emoji-picker/index.tsx @@ -57,9 +57,9 @@ const ColorSelect: FC = ( { selectedEmoji, onSelect } ) => { const [selectBackground, setSelectBackground] = useState(backgroundColors[0]); - return
+ return
-

Choose Style

+

Choose Style

{backgroundColors.map((color) => { return
= ({ const { categories, emojis } = data as any console.log(categories, emojis); - return
+ return
{categories.map((category: any) => { return

{category.id}

{category.emojis.map((emoji: any) => { return
{ onSelect && onSelect(emoji) @@ -127,7 +127,7 @@ const EmojiPicker: FC = () => { const [selectBackground, setSelectBackground] = useState('') const Elem = () => { - return
+ return
@@ -135,10 +135,11 @@ const EmojiPicker: FC = () => {
- { + +
+ { setSelectedEmoji(itm) }} /> -
setSelectBackground(color)} />