Skip to content

Commit 5e8bfe0

Browse files
committed
remove unnecessary view
1 parent 102359d commit 5e8bfe0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ScrollableTabBar.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,9 @@ const ScrollableTabBar = React.createClass({
129129
onPress={() => this.props.goToPage(page)}
130130
onLayout={this.measureTab.bind(this, page)}
131131
>
132-
<View>
133-
<Text style={[{color: textColor, fontWeight, }, textStyle, ]}>
134-
{name}
135-
</Text>
136-
</View>
132+
<Text style={[{color: textColor, fontWeight, }, textStyle, ]}>
133+
{name}
134+
</Text>
137135
</TouchableOpacity>;
138136
},
139137

0 commit comments

Comments
 (0)