File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 20
20
loggedIn : R . authenticated ( ) ,
21
21
name : R . authenticated ( ) ? R . currentUser . get ( 'firstName' ) : null ,
22
22
playState : undefined ,
23
- topTrack : undefined ,
24
- }
23
+ topTrack : undefined
24
+ } ;
25
25
} ,
26
26
27
27
componentDidMount ( ) {
59
59
R . authenticate ( nowAuthenticated => {
60
60
this . setState ( {
61
61
loggedIn : nowAuthenticated ,
62
- name : nowAuthenticated ? R . currentUser . get ( 'firstName' ) : null ,
63
- } )
64
- } )
62
+ name : nowAuthenticated ? R . currentUser . get ( 'firstName' ) : null
63
+ } ) ;
64
+ } ) ;
65
65
} ,
66
66
67
67
_getTopTrack ( ) {
95
95
loggedIn : React . PropTypes . bool . isRequired ,
96
96
name : React . PropTypes . string . isRequired ,
97
97
98
- onLoginClick : React . PropTypes . func . isRequired ,
98
+ onLoginClick : React . PropTypes . func . isRequired
99
99
} ,
100
100
101
101
render ( ) {
173
173
</ div >
174
174
) ;
175
175
} ,
176
+
176
177
_getPlayStateText ( ) {
177
178
switch ( this . props . playState ) {
178
179
case R . player . PLAYSTATE_PAUSED :
196
197
< SampleApp /> ,
197
198
document . getElementById ( 'container' )
198
199
) ;
199
- } )
200
+ } ) ;
201
+
200
202
</ script >
201
203
</ body >
202
204
</ html >
You can’t perform that action at this time.
0 commit comments