Skip to content

Commit 30f567b

Browse files
committed
prettify source code
1 parent 429b621 commit 30f567b

File tree

11 files changed

+38
-19
lines changed

11 files changed

+38
-19
lines changed

source/views/building-hours/detail/toolbar-button.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
4444
}
4545
}
4646

47-
export const ConnectedBuildingFavoriteButton = connect(mapState, mapDispatch)(
48-
BuildingFavoriteButton,
49-
)
47+
export const ConnectedBuildingFavoriteButton = connect(
48+
mapState,
49+
mapDispatch,
50+
)(BuildingFavoriteButton)

source/views/dictionary/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class DictionaryView extends React.PureComponent<Props, State> {
150150
cell={this.renderRow}
151151
cellHeight={
152152
ROW_HEIGHT +
153-
(Platform.OS === 'ios' ? 11 / 12 * StyleSheet.hairlineWidth : 0)
153+
(Platform.OS === 'ios' ? (11 / 12) * StyleSheet.hairlineWidth : 0)
154154
}
155155
data={groupBy(results, item => item.word[0])}
156156
onSearch={this.performSearch}

source/views/help/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ function mapDispatch(dispatch): ReduxDispatchProps {
7979
}
8080
}
8181

82-
export default connect(mapState, mapDispatch)(HelpView)
82+
export default connect(
83+
mapState,
84+
mapDispatch,
85+
)(HelpView)
8386

8487
const styles = StyleSheet.create({
8588
container: {

source/views/home/edit/list.android.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
112112
}
113113
}
114114

115-
export const ConnectedEditHomeView = connect(mapState, mapDispatch)(
116-
EditHomeView,
117-
)
115+
export const ConnectedEditHomeView = connect(
116+
mapState,
117+
mapDispatch,
118+
)(EditHomeView)

source/views/home/edit/list.ios.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
9595
}
9696
}
9797

98-
export const ConnectedEditHomeView = connect(mapState, mapDispatch)(
99-
EditHomeView,
100-
)
98+
export const ConnectedEditHomeView = connect(
99+
mapState,
100+
mapDispatch,
101+
)(EditHomeView)

source/views/menus/components/fancy-menu.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,7 @@ const mapDispatch = (dispatch, actualProps: ReactProps): ReduxDispatchProps => {
210210
}
211211
}
212212

213-
export const ConnectedFancyMenu = connect(mapState, mapDispatch)(FancyMenu)
213+
export const ConnectedFancyMenu = connect(
214+
mapState,
215+
mapDispatch,
216+
)(FancyMenu)

source/views/settings/sections/login-credentials.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ function mapDispatchToProps(dispatch): ReduxDispatchProps {
147147
}
148148
}
149149

150-
export default connect(mapStateToProps, mapDispatchToProps)(
151-
CredentialsLoginSection,
152-
)
150+
export default connect(
151+
mapStateToProps,
152+
mapDispatchToProps,
153+
)(CredentialsLoginSection)

source/views/settings/sections/odds-and-ends.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,7 @@ function mapDispatchToProps(dispatch) {
9696
}
9797
}
9898

99-
export default connect(mapStateToProps, mapDispatchToProps)(OddsAndEndsSection)
99+
export default connect(
100+
mapStateToProps,
101+
mapDispatchToProps,
102+
)(OddsAndEndsSection)

source/views/sis/balances.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ function mapDispatch(dispatch): ReduxDispatchProps {
206206
}
207207
}
208208

209-
export default connect(mapState, mapDispatch)(BalancesView)
209+
export default connect(
210+
mapState,
211+
mapDispatch,
212+
)(BalancesView)
210213

211214
let cellMargin = 10
212215
let cellSidePadding = 10

source/views/sis/course-search/search.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,10 @@ function mapDispatch(dispatch): ReduxDispatchProps {
490490
}
491491
}
492492

493-
export default connect(mapState, mapDispatch)(CourseSearchView)
493+
export default connect(
494+
mapState,
495+
mapDispatch,
496+
)(CourseSearchView)
494497

495498
let styles = StyleSheet.create({
496499
bottomContainer: {

0 commit comments

Comments
 (0)