From e49e54a5ffb3c5304a42c12be9dba6cc47384250 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 9ff53485e..80cd0f42e 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')}