mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
perf(snooze): Don't wrap snooze label in unsafe container
This commit is contained in:
parent
94a8ca57d8
commit
816596d422
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ class SnoozeMailLabel extends Component {
|
|||
thread: PropTypes.object,
|
||||
};
|
||||
|
||||
static containerRequired = false;
|
||||
|
||||
render() {
|
||||
const {thread} = this.props;
|
||||
if (_.findWhere(thread.categories, {displayName: SNOOZE_CATEGORY_NAME})) {
|
||||
|
|
Loading…
Reference in a new issue