Skip to content

Commit 2a87fe5

Browse files
committed
Minor style tweaks to basic-starter-react
1 parent c0960de commit 2a87fe5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

basic-starter-react/index.html

+9-7
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
loggedIn: R.authenticated(),
2121
name: R.authenticated() ? R.currentUser.get('firstName') : null,
2222
playState: undefined,
23-
topTrack: undefined,
24-
}
23+
topTrack: undefined
24+
};
2525
},
2626

2727
componentDidMount() {
@@ -59,9 +59,9 @@
5959
R.authenticate(nowAuthenticated => {
6060
this.setState({
6161
loggedIn: nowAuthenticated,
62-
name: nowAuthenticated ? R.currentUser.get('firstName') : null,
63-
})
64-
})
62+
name: nowAuthenticated ? R.currentUser.get('firstName') : null
63+
});
64+
});
6565
},
6666

6767
_getTopTrack() {
@@ -95,7 +95,7 @@
9595
loggedIn: React.PropTypes.bool.isRequired,
9696
name: React.PropTypes.string.isRequired,
9797

98-
onLoginClick: React.PropTypes.func.isRequired,
98+
onLoginClick: React.PropTypes.func.isRequired
9999
},
100100

101101
render() {
@@ -173,6 +173,7 @@
173173
</div>
174174
);
175175
},
176+
176177
_getPlayStateText() {
177178
switch (this.props.playState) {
178179
case R.player.PLAYSTATE_PAUSED:
@@ -196,7 +197,8 @@
196197
<SampleApp />,
197198
document.getElementById('container')
198199
);
199-
})
200+
});
201+
200202
</script>
201203
</body>
202204
</html>

0 commit comments

Comments
 (0)