Skip to content

Commit

Permalink
Merge branch 'RocketChat:develop' into feat/deploy-pr-previews
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshkansagra authored Sep 26, 2024
2 parents d67df2c + 2d158a9 commit b19cdee
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import CheckPreviewType from './CheckPreviewType';
import RCContext from '../../context/RCInstance';
import { useMessageStore } from '../../store';
import getAttachmentPreviewStyles from './AttachmentPreview.styles';
import { parseEmoji } from '../../lib/emoji';

const AttachmentPreview = () => {
const { RCInstance, ECOptions } = useContext(RCContext);
Expand All @@ -25,7 +26,7 @@ const AttachmentPreview = () => {
};

const handleFileDescription = (e) => {
setFileDescription(e.target.value);
setFileDescription(parseEmoji(e.target.value));
};

const submit = async () => {
Expand Down

0 comments on commit b19cdee

Please sign in to comment.