Skip to content

Commit f8d86ca

Browse files
committed
remove remaining {''} strings
1 parent 33ccbfe commit f8d86ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/views/menus/menu-github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class GitHubHostedMenu extends React.PureComponent<Props, State> {
111111
}
112112

113113
if (this.state.error) {
114-
return <NoticeView text={'Error: ' + this.state.error.message} />
114+
return <NoticeView text={`Error: ${this.state.error.message}`} />
115115
}
116116

117117
return (

source/views/streaming/streams/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class StreamListView extends React.PureComponent<Props, State> {
132132
}
133133

134134
if (this.state.error) {
135-
return <NoticeView text={'Error: ' + this.state.error} />
135+
return <NoticeView text={`Error: ${this.state.error}`} />
136136
}
137137

138138
return (

source/views/transportation/other-modes/detail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class OtherModesDetailView extends React.PureComponent<Props> {
5656
styles={{Paragraph: styles.paragraph}}
5757
/>
5858

59-
<Button onPress={this.onPress} title={'More Info'} />
59+
<Button onPress={this.onPress} title="More Info" />
6060

6161
<ListFooter
6262
href={GH_NEW_ISSUE_URL}

0 commit comments

Comments
 (0)