Skip to content

Commit eceb261

Browse files
zhangyu921Max
authored and
Max
committed
Fix code error (#1089)
1 parent f0b16d5 commit eceb261

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,13 @@ class MyApp extends Component {
173173
}
174174
175175
render() {
176-
<View>
177-
<TouchableOpacity onPress={this.onButtonPress}>
178-
<Text>Check for updates</Text>
179-
</TouchableOpacity>
180-
</View>
176+
return (
177+
<View>
178+
<TouchableOpacity onPress={this.onButtonPress}>
179+
<Text>Check for updates</Text>
180+
</TouchableOpacity>
181+
</View>
182+
)
181183
}
182184
}
183185

0 commit comments

Comments
 (0)