mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
fix(snooze): Fix react component warnings
This commit is contained in:
parent
9b32ac4719
commit
d930abcea6
2 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ class SnoozePopoverBody extends Component {
|
||||||
onMouseDown={this.onSnooze.bind(this, dateGenerator)}>
|
onMouseDown={this.onSnooze.bind(this, dateGenerator)}>
|
||||||
<RetinaImg
|
<RetinaImg
|
||||||
url={iconPath}
|
url={iconPath}
|
||||||
mode={RetinaImg.ContentIsMask} />
|
mode={RetinaImg.Mode.ContentPreserve} />
|
||||||
{label}
|
{label}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
@ -26,7 +26,7 @@ class FixedPopover extends Component {
|
||||||
left: PropTypes.number,
|
left: PropTypes.number,
|
||||||
height: PropTypes.number,
|
height: PropTypes.number,
|
||||||
width: PropTypes.number,
|
width: PropTypes.number,
|
||||||
}).isRequired,
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
Loading…
Reference in a new issue