Add 🪿 (#9983)
This commit is contained in:
@@ -158,7 +158,7 @@ export function EmojiPicker({state, close, pinToTop}: IProps) {
|
||||
onDismiss={close}>
|
||||
<Picker
|
||||
data={async () => {
|
||||
return (await import('./EmojiPickerData.json')).default
|
||||
return (await import('@emoji-mart/data')).default
|
||||
}}
|
||||
onEmojiSelect={onInsert}
|
||||
autoFocus={true}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -15,7 +15,7 @@ export function useWebPreloadEmoji({immediate}: {immediate?: boolean} = {}) {
|
||||
if (loadRequested) return
|
||||
loadRequested = true
|
||||
try {
|
||||
const data = (await import('./EmojiPickerData.json')).default
|
||||
const data = (await import('@emoji-mart/data')).default
|
||||
init({data})
|
||||
} catch (e) {}
|
||||
}, [])
|
||||
|
||||
Reference in New Issue
Block a user