Skip to content

Commit

Permalink
need url for emoji picker
Browse files Browse the repository at this point in the history
  • Loading branch information
sbishel committed Mar 30, 2023
1 parent 689d808 commit dfd3d3e
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 dfd3d3e

Please sign in to comment.