Skip to content

Commit debf255

Browse files
committed
prettify
1 parent 2818269 commit debf255

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

source/views/calendar/event-detail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ EventDetail.navigationOptions = ({navigation}) => {
8989
const {event} = navigation.state.params
9090
return {
9191
title: event.summary,
92-
headerRight: <ShareButton onPress={() => shareItem(event)} />
92+
headerRight: <ShareButton onPress={() => shareItem(event)} />,
9393
}
9494
}

source/views/components/tabbed-view/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ type ComponentType = (
1414
// arg of TabNavigator.
1515
) => TabNav
1616

17-
export const TabNavigator: ComponentType = (screens, options) => TabNav(
18-
screens,
19-
{
17+
export const TabNavigator: ComponentType = (screens, options) =>
18+
TabNav(screens, {
2019
backBehavior: 'none',
2120
tabBarOptions: {
2221
activeTintColor: c.mandarin,
2322
...(options.tabBarOptions || {}),
2423
},
2524
...options,
26-
},
27-
)
25+
})

source/views/home/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function EditHomeView(props: {onSaveOrder: () => any, order: string[]}) {
147147
)
148148
}
149149
EditHomeView.navigationOptions = {
150-
title: 'Edit Home'
150+
title: 'Edit Home',
151151
}
152152

153153
function mapStateToProps(state) {

source/views/news/news-item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ NewsItem.navigationOptions = ({navigation}) => {
7878
const {story} = navigation.state.params
7979
return {
8080
title: story.title,
81-
headerRight: <ShareButton onPress={() => shareItem(story)} />
81+
headerRight: <ShareButton onPress={() => shareItem(story)} />,
8282
}
8383
}

source/views/transportation/otherModes.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ let styles = StyleSheet.create({
3131

3232
export default function OtherModesView() {
3333
return (
34-
<SimpleListView
35-
contentContainerStyle={styles.container}
36-
data={modes}
37-
>
34+
<SimpleListView contentContainerStyle={styles.container} data={modes}>
3835
{(data: OtherModeType) =>
3936
<View style={styles.mode}>
4037
<Text selectable={true} style={styles.title}>{data.name}</Text>

0 commit comments

Comments
 (0)