summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/reaction/reaction.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/reaction/reaction.jsx')
-rw-r--r--webapp/components/post_view/reaction/reaction.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/post_view/reaction/reaction.jsx b/webapp/components/post_view/reaction/reaction.jsx
index f256a1fb5..673f8fd7f 100644
--- a/webapp/components/post_view/reaction/reaction.jsx
+++ b/webapp/components/post_view/reaction/reaction.jsx
@@ -93,6 +93,10 @@ export default class Reaction extends React.PureComponent {
}
render() {
+ if (!this.props.emojiImageUrl) {
+ return null;
+ }
+
let currentUserReacted = false;
const users = [];
const otherUsersCount = this.props.otherUsersCount;