mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +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)}>
|
||||
<RetinaImg
|
||||
url={iconPath}
|
||||
mode={RetinaImg.ContentIsMask} />
|
||||
mode={RetinaImg.Mode.ContentPreserve} />
|
||||
{label}
|
||||
</div>
|
||||
)
|
||||
|
|
|
@ -26,7 +26,7 @@ class FixedPopover extends Component {
|
|||
left: PropTypes.number,
|
||||
height: PropTypes.number,
|
||||
width: PropTypes.number,
|
||||
}).isRequired,
|
||||
}),
|
||||
};
|
||||
|
||||
constructor(props) {
|
||||
|
|
Loading…
Reference in a new issue