diff --git a/web/static/js/emoji-mart-data.js b/web/static/js/emoji-mart-data.js index 9e75f0ca..5127e2dd 100644 --- a/web/static/js/emoji-mart-data.js +++ b/web/static/js/emoji-mart-data.js @@ -1,7 +1,11 @@ async function grabEmojiData() { - const response = await fetch('/static/emojis.2023.json') - const emojiMartData = await response.json() - window.emojiMartData = emojiMartData + 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()