Remove unnecessary object check

Reviewed By: sahrens

Differential Revision: D8529727

fbshipit-source-id: 6b3659d3cdea70931a30e22a6acfd140091e8ad7
This commit is contained in:
Eli White 2018-06-19 23:02:50 -07:00 committed by Facebook Github Bot
parent 64d9c48733
commit 35e233661d
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ let Image = (
} }
} }
const resizeMode = props.resizeMode || (style || {}).resizeMode || 'cover'; // Workaround for flow bug t7737108 const resizeMode = props.resizeMode || style.resizeMode;
const tintColor = (style || {}).tintColor; // Workaround for flow bug t7737108 const tintColor = style.tintColor;
if (props.src != null) { if (props.src != null) {
console.warn( console.warn(