Artistlist; Nicer sliders
This commit is contained in:
@ -63,10 +63,14 @@ class SpotifyAuthenticationFrame extends React.Component{
|
||||
if( !this.props.spotify.me ) return null;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Thumbnail circle={true} size="small" images={this.props.spotify.me.images} />
|
||||
Logged in as {this.props.spotify.me.display_name ? this.props.spotify.me.display_name : null }
|
||||
(<Link to={'/user/'+this.props.spotify.me.id}>{ this.props.spotify.me.id }</Link>)
|
||||
<div className="artist-list">
|
||||
<div className="artist">
|
||||
<Thumbnail circle={true} size="small" images={this.props.spotify.me.images} />
|
||||
<div className="name">
|
||||
Logged in as {this.props.spotify.me.display_name ? this.props.spotify.me.display_name : null }
|
||||
(<Link to={'/user/'+this.props.spotify.me.id}>{ this.props.spotify.me.id }</Link>)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@ -83,8 +87,8 @@ class SpotifyAuthenticationFrame extends React.Component{
|
||||
}else if( this.props.spotify.authorized ){
|
||||
return (
|
||||
<div>
|
||||
<button onClick={() => this.props.actions.authorizationRevoked()}>Log out</button>
|
||||
{ this.renderMe() }
|
||||
<button onClick={() => this.props.actions.authorizationRevoked()}>Log out</button>
|
||||
</div>
|
||||
);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user