diff --git a/src/components/ui/Markdown.tsx b/src/components/ui/Markdown.tsx index 3236bd3..aef959a 100644 --- a/src/components/ui/Markdown.tsx +++ b/src/components/ui/Markdown.tsx @@ -13,8 +13,10 @@ const Markdown: FC = ({ children = '', className }) => { return (

, - h2: ({ className, ...props }) =>

, + h1: ({ className, ...props }) => ( +

+ ), + h2: ({ className, ...props }) =>

, img: ({ className, alt, ...props }) => ( {alt} ), diff --git a/src/views/Footer/index.tsx b/src/views/Footer/index.tsx index b4098ce..e8db80a 100644 --- a/src/views/Footer/index.tsx +++ b/src/views/Footer/index.tsx @@ -34,8 +34,8 @@ const Footer: FC = () => { send(messageInputDomain.command.ClearCommand()) } - const handleEmojiSelect = (value: string) => { - send(messageInputDomain.command.InputCommand(messageText + value)) + const handleEmojiSelect = (emoji: string) => { + send(messageInputDomain.command.InputCommand(`${messageText}${emoji}`)) } return (