Merge pull request #1397 from bluesky-social/eric/fix-startup-error
prevent error screen on startupzio/stable
commit
b76b56b4a4
|
@ -1,7 +1,11 @@
|
|||
async function grabEmojiData() {
|
||||
try {
|
||||
const response = await fetch('/static/emojis.2023.json')
|
||||
const emojiMartData = await response.json()
|
||||
window.emojiMartData = emojiMartData
|
||||
} catch (error) {
|
||||
console.warn(`Failed to load emojis`)
|
||||
}
|
||||
}
|
||||
|
||||
grabEmojiData()
|
||||
|
|
Loading…
Reference in New Issue