mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-13 22:29:45 +08:00
Fix flow
Reviewed By: gabelevi Differential Revision: D2734936 fb-gh-sync-id: 0c085c4968e52907a60bbd1d8af30dac6f449e46
This commit is contained in:
committed by
facebook-github-bot-2
parent
d013554083
commit
7b13ce30f2
@@ -45,9 +45,6 @@ var MovieCell = React.createClass({
|
||||
onShowUnderlay={this.props.onHighlight}
|
||||
onHideUnderlay={this.props.onUnhighlight}>
|
||||
<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
|
||||
source={getImageSource(this.props.movie, 'det')}
|
||||
style={styles.cellImage}
|
||||
|
||||
@@ -34,9 +34,6 @@ var MovieScreen = React.createClass({
|
||||
return (
|
||||
<ScrollView contentContainerStyle={styles.contentContainer}>
|
||||
<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
|
||||
source={getImageSource(this.props.movie, 'det')}
|
||||
style={styles.detailsImage}
|
||||
|
||||
Reference in New Issue
Block a user