mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 14:53:41 +01:00
Merge pull request #334 from ThibG/glitch-soc/cleanup-leftover-code
Remove some leftover code
This commit is contained in:
commit
c53d7196e6
1 changed files with 0 additions and 3 deletions
|
@ -47,7 +47,6 @@ export default class Status extends ImmutablePureComponent {
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
isExpanded: null,
|
isExpanded: null,
|
||||||
markedForDelete: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Avoid checking props that are functions (and whose equality will always
|
// Avoid checking props that are functions (and whose equality will always
|
||||||
|
@ -67,7 +66,6 @@ export default class Status extends ImmutablePureComponent {
|
||||||
|
|
||||||
updateOnStates = [
|
updateOnStates = [
|
||||||
'isExpanded',
|
'isExpanded',
|
||||||
'markedForDelete',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
// If our settings have changed to disable collapsed statuses, then we
|
// 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')}`, {
|
const computedClass = classNames('status', `status-${status.get('visibility')}`, {
|
||||||
collapsed: isExpanded === false,
|
collapsed: isExpanded === false,
|
||||||
'has-background': isExpanded === false && background,
|
'has-background': isExpanded === false && background,
|
||||||
'marked-for-delete': this.state.markedForDelete,
|
|
||||||
muted,
|
muted,
|
||||||
}, 'focusable');
|
}, 'focusable');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue