about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-18 09:53:48 +0200
committerThibG <thib@sitedethib.com>2019-07-18 09:54:59 +0200
commit6ff285d948cd8b19a01f183af25498c3b0d5bea4 (patch)
tree0ddf4aaa5d9fdad971b334785c89a4f62638ee24 /app/javascript/flavours/glitch
parenta2df11ebaf4f08e68c722db083034c3904a1965c (diff)
Fix *another* typo and crash in StatusIcons
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/components/status_icons.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_icons.js b/app/javascript/flavours/glitch/components/status_icons.js
index bf3ba6944..3dcfade3f 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':