From 67242afaace42d40a9cf5e9ea8dbe7869afdcf62 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Thu, 1 Jun 2023 15:37:18 -0600 Subject: [PATCH] fix emoji for release-7.8 (#4758) --- webapp/src/widgets/emojiPicker.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/widgets/emojiPicker.tsx b/webapp/src/widgets/emojiPicker.tsx index 147fc1d82..b531445f2 100644 --- a/webapp/src/widgets/emojiPicker.tsx +++ b/webapp/src/widgets/emojiPicker.tsx @@ -5,6 +5,7 @@ import React, {FC} from 'react' import 'emoji-mart/css/emoji-mart.css' import {Picker, BaseEmoji} from 'emoji-mart' +import {Utils} from '../utils' import './emojiPicker.scss' import emojiSpirit from '../../static/emoji_spirit.png' @@ -20,7 +21,7 @@ const EmojiPicker: FC = (props: Props): JSX.Element => ( > props.onSelect(emoji.native)} - backgroundImageFn={() => emojiSpirit} + backgroundImageFn={() => Utils.buildURL(emojiSpirit, true)} /> )