Remove unnecessary object check
Reviewed By: sahrens Differential Revision: D8529727 fbshipit-source-id: 6b3659d3cdea70931a30e22a6acfd140091e8ad7
This commit is contained in:
parent
64d9c48733
commit
35e233661d
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue