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:
commit
8bd8903e7b
@ -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>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user