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