1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

Merge pull request #4638 from mattermost/cp-4635

Merge pull request #4635 from mattermost/fix-emoji
This commit is contained in:
Scott Bishel 2023-03-14 07:47:58 -06:00 committed by GitHub
commit 8bd8903e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,8 @@ 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 +22,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>
)