Skip to content

Commit d3fe4b5

Browse files
committed
prettify
1 parent 0d87fb8 commit d3fe4b5

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

jsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"allowSyntheticDefaultImports": true
5+
},
6+
"exclude": [
7+
"node_modules"
8+
]
9+
}

source/views/calendar/event-list.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,11 @@ export class EventList extends React.Component {
9393
refreshing={this.props.refreshing}
9494
onRefresh={this.props.onRefresh}
9595
>
96-
{(event: EventType) => (
96+
{(event: EventType) =>
9797
<EventRow
9898
onPress={() => this.onPressEvent(event.summary, event)}
9999
event={event}
100-
/>
101-
)}
100+
/>}
102101
</SimpleListView>
103102
)
104103
}

source/views/calendar/index.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,37 +23,34 @@ export default function CalendarPage({
2323
id: 'StOlafCalendarView',
2424
title: 'St. Olaf',
2525
icon: 'school',
26-
component: () => (
26+
component: () =>
2727
<GoogleCalendarView
2828
navigator={navigator}
2929
route={route}
3030
calendarId="le6tdd9i38vgb7fcmha0hu66u9gjus2e%40import.calendar.google.com"
31-
/>
32-
),
31+
/>,
3332
},
3433
{
3534
id: 'OlevilleCalendarView',
3635
title: 'Oleville',
3736
icon: 'happy',
38-
component: () => (
37+
component: () =>
3938
<GoogleCalendarView
4039
navigator={navigator}
4140
route={route}
4241
calendarId="[email protected]"
43-
/>
44-
),
42+
/>,
4543
},
4644
{
4745
id: 'NorthfieldCalendarView',
4846
title: 'Northfield',
4947
icon: 'pin',
50-
component: () => (
48+
component: () =>
5149
<GoogleCalendarView
5250
navigator={navigator}
5351
route={route}
5452
calendarId="thisisnorthfield%40gmail.com"
55-
/>
56-
),
53+
/>,
5754
},
5855
]}
5956
/>

0 commit comments

Comments
 (0)