fix(snooze): Fix react component warnings

This commit is contained in:
Juan Tejada 2016-02-23 22:38:56 -08:00
parent 9b32ac4719
commit d930abcea6
2 changed files with 2 additions and 2 deletions

View file

@ -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>
) )

View file

@ -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) {