mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 07:46:06 +08:00
perf(snooze): Don't wrap snooze label in unsafe container
This commit is contained in:
parent
ddb2de7b65
commit
1d130e15c8
|
@ -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