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)}>
<RetinaImg
url={iconPath}
mode={RetinaImg.ContentIsMask} />
mode={RetinaImg.Mode.ContentPreserve} />
{label}
</div>
)

View file

@ -26,7 +26,7 @@ class FixedPopover extends Component {
left: PropTypes.number,
height: PropTypes.number,
width: PropTypes.number,
}).isRequired,
}),
};
constructor(props) {