Fix flow
Reviewed By: gabelevi Differential Revision: D2734936 fb-gh-sync-id: 0c085c4968e52907a60bbd1d8af30dac6f449e46
This commit is contained in:
Родитель
d013554083
Коммит
7b13ce30f2
|
@ -45,9 +45,6 @@ var MovieCell = React.createClass({
|
||||||
onShowUnderlay={this.props.onHighlight}
|
onShowUnderlay={this.props.onHighlight}
|
||||||
onHideUnderlay={this.props.onUnhighlight}>
|
onHideUnderlay={this.props.onUnhighlight}>
|
||||||
<View style={styles.row}>
|
<View style={styles.row}>
|
||||||
{/* $FlowIssue #7363964 - There's a bug in Flow where you cannot
|
|
||||||
* omit a property or set it to undefined if it's inside a shape,
|
|
||||||
* even if it isn't required */}
|
|
||||||
<Image
|
<Image
|
||||||
source={getImageSource(this.props.movie, 'det')}
|
source={getImageSource(this.props.movie, 'det')}
|
||||||
style={styles.cellImage}
|
style={styles.cellImage}
|
||||||
|
|
|
@ -34,9 +34,6 @@ var MovieScreen = React.createClass({
|
||||||
return (
|
return (
|
||||||
<ScrollView contentContainerStyle={styles.contentContainer}>
|
<ScrollView contentContainerStyle={styles.contentContainer}>
|
||||||
<View style={styles.mainSection}>
|
<View style={styles.mainSection}>
|
||||||
{/* $FlowIssue #7363964 - There's a bug in Flow where you cannot
|
|
||||||
* omit a property or set it to undefined if it's inside a shape,
|
|
||||||
* even if it isn't required */}
|
|
||||||
<Image
|
<Image
|
||||||
source={getImageSource(this.props.movie, 'det')}
|
source={getImageSource(this.props.movie, 'det')}
|
||||||
style={styles.detailsImage}
|
style={styles.detailsImage}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче