From dfd3d3edfc2fb92ba6af57a6a80ffc2f23a8d76b Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Thu, 30 Mar 2023 10:01:12 -0600 Subject: [PATCH] need url for emoji picker --- 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)} /> )