From 810312213a82be43f2dcaf1a35904bf85c96b620 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 18 Jan 2018 17:18:01 +0100 Subject: [PATCH] Remove some leftover code, I guess --- app/javascript/flavours/glitch/components/status.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index feffc2d592..d63b6a639b 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -47,7 +47,6 @@ export default class Status extends ImmutablePureComponent { state = { isExpanded: null, - markedForDelete: false, } // Avoid checking props that are functions (and whose equality will always @@ -67,7 +66,6 @@ export default class Status extends ImmutablePureComponent { updateOnStates = [ 'isExpanded', - 'markedForDelete', ] // If our settings have changed to disable collapsed statuses, then we @@ -382,7 +380,6 @@ export default class Status extends ImmutablePureComponent { const computedClass = classNames('status', `status-${status.get('visibility')}`, { collapsed: isExpanded === false, 'has-background': isExpanded === false && background, - 'marked-for-delete': this.state.markedForDelete, muted, }, 'focusable');