From 18a540da9f679ec5d28f67322fb3df21f97d2580 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 6 Feb 2019 19:48:28 +0100 Subject: [PATCH] Cleanup redundant markup for hidden statuses --- app/javascript/flavours/glitch/components/status.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 9ff53485e8..80cd0f42e6 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -384,15 +384,7 @@ export default class Status extends ImmutablePureComponent { if (hidden) { return ( -
+
{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])} {' '} {status.get('content')}