From ae48c6e619cc352c14d6415dee031f87c9d547c7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 10 Apr 2022 16:07:23 -0500 Subject: [PATCH] Fix action bar emoji labels --- app/soapbox/actions/soapbox.js | Bin 3506 -> 3490 bytes app/soapbox/components/status_action_bar.tsx | 3 ++- .../features/status/components/action-bar.tsx | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/soapbox/actions/soapbox.js b/app/soapbox/actions/soapbox.js index fd08d0300c17834e9a44764ccbf0464e46d3f8f5..0b18c9bc1368c442ce792ee171c9f2a09b79e001 100644 GIT binary patch delta 24 fcmdlay-0e)G*<4S)ZF~C)UaSfv*OJgSs6J1aw!O8 delta 40 rcmZ1^y-9k*G*;=<-2ALe1zS6XA|R_QH7wZBtXKmqsJVF|D { '😮': messages.reactionOpenMouth, '😢': messages.reactionCry, '😩': messages.reactionWeary, + '': messages.favourite, }; - const meEmojiTitle = intl.formatMessage(meEmojiReact ? reactMessages[meEmojiReact] : messages.favourite); + const meEmojiTitle = intl.formatMessage(reactMessages[meEmojiReact || ''] || messages.favourite); const menu: Menu = [];