Attachment Modal: Fix missing Emoji Tooltip (#1275)
This commit is contained in:
parent
f04c52f8d6
commit
6200fcdc33
@ -31,6 +31,7 @@ export type OwnProps = {
|
||||
groupChatMembers?: ApiChatMember[];
|
||||
usersById?: Record<number, ApiUser>;
|
||||
recentEmojis: string[];
|
||||
baseEmojiKeywords?: Record<string, string[]>;
|
||||
emojiKeywords?: Record<string, string[]>;
|
||||
addRecentEmoji: AnyToVoidFunction;
|
||||
onCaptionUpdate: (html: string) => void;
|
||||
@ -49,6 +50,7 @@ const AttachmentModal: FC<OwnProps> = ({
|
||||
currentUserId,
|
||||
usersById,
|
||||
recentEmojis,
|
||||
baseEmojiKeywords,
|
||||
emojiKeywords,
|
||||
onCaptionUpdate,
|
||||
addRecentEmoji,
|
||||
@ -86,6 +88,7 @@ const AttachmentModal: FC<OwnProps> = ({
|
||||
recentEmojis,
|
||||
EDITABLE_INPUT_MODAL_ID,
|
||||
onCaptionUpdate,
|
||||
baseEmojiKeywords,
|
||||
emojiKeywords,
|
||||
);
|
||||
|
||||
|
||||
@ -718,6 +718,7 @@ const Composer: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
usersById={usersById}
|
||||
recentEmojis={recentEmojis}
|
||||
onCaptionUpdate={setHtml}
|
||||
baseEmojiKeywords={baseEmojiKeywords}
|
||||
emojiKeywords={emojiKeywords}
|
||||
addRecentEmoji={addRecentEmoji}
|
||||
onSend={shouldSchedule ? openCalendar : handleSend}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user