about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-01-23 10:27:13 -0600
committerGitHub <noreply@github.com>2018-01-23 10:27:13 -0600
commitc53d7196e6116dd2ac1103ae17107df66b775b15 (patch)
treea4c84926a0396154383924d778143d2175227d9c /app
parenta90d0419d97db50cca034b9d30969f3d161a69b1 (diff)
parent2107891edb0d4b3d524ffc0cb1c500cbb5bae802 (diff)
Merge pull request #334 from ThibG/glitch-soc/cleanup-leftover-code
Remove some leftover code
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/components/status.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js
index feffc2d59..d63b6a639 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');