From 6ff285d948cd8b19a01f183af25498c3b0d5bea4 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 18 Jul 2019 09:53:48 +0200 Subject: [PATCH] Fix *another* typo and crash in StatusIcons --- app/javascript/flavours/glitch/components/status_icons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/status_icons.js b/app/javascript/flavours/glitch/components/status_icons.js index bf3ba69440..3dcfade3fa 100644 --- a/app/javascript/flavours/glitch/components/status_icons.js +++ b/app/javascript/flavours/glitch/components/status_icons.js @@ -48,7 +48,7 @@ export default class StatusIcons extends React.PureComponent { switch (mediaIcon) { case 'link': - return intl.formatMessages(messages.previewCard); + return intl.formatMessage(messages.previewCard); case 'picture-o': return intl.formatMessage(messages.pictures); case 'tasks':