Skip to content

Commit

Permalink
fix emoji for release-7.8 (#4758)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbishel authored Jun 1, 2023
1 parent c7823c2 commit 67242af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/widgets/emojiPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -20,7 +21,7 @@ const EmojiPicker: FC<Props> = (props: Props): JSX.Element => (
>
<Picker
onSelect={(emoji: BaseEmoji) => props.onSelect(emoji.native)}
backgroundImageFn={() => emojiSpirit}
backgroundImageFn={() => Utils.buildURL(emojiSpirit, true)}
/>
</div>
)
Expand Down

0 comments on commit 67242af

Please sign in to comment.