mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-15 11:21:42 +00:00
Remove some leftover code, I guess
This commit is contained in:
parent
a90d0419d9
commit
2107891edb
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue