diff --git a/packages/react/src/components/ChatInput/ChatInputFormattingToolbar.js b/packages/react/src/components/ChatInput/ChatInputFormattingToolbar.js index 00d07dc32..228a24759 100644 --- a/packages/react/src/components/ChatInput/ChatInputFormattingToolbar.js +++ b/packages/react/src/components/ChatInput/ChatInputFormattingToolbar.js @@ -10,7 +10,7 @@ import AudioMessageRecorder from './AudioMessageRecorder'; import { Box } from '../Box'; import { Icon } from '../Icon'; import { ActionButton } from '../ActionButton'; -import {Tooltip} from "../Tooltip" +import { Tooltip } from "../Tooltip" import useComponentOverrides from '../../theme/useComponentOverrides'; const ChatInputFormattingToolbar = ({ messageRef, inputRef }) => { @@ -71,17 +71,17 @@ const ChatInputFormattingToolbar = ({ messageRef, inputRef }) => { > {isUserAuthenticated && ( <> - -
- setEmojiOpen((t) => !t)} - > - - -
+ +
+ setEmojiOpen((t) => !t)} + > + + +
{ )} {formatter.map((item, index) => ( - - - { - wrapSelection(item.pattern); - }} - key={index} - > - - - + + + { + wrapSelection(item.pattern); + }} + > + + + - + ))}