Simplified localstorage handler; Duration formatter

This commit is contained in:
James Barnsley
2016-10-18 16:53:33 +13:00
parent 82b13707f9
commit bd3ac79055
9 changed files with 70 additions and 19 deletions

View File

@ -37,7 +37,7 @@ class SpotifyAuthenticationFrame extends React.Component{
<span>Authorizing...</span>
</span>
);
}else if( this.props.spotify.authorization ){
}else if( this.props.spotify.authorized ){
return (
<button onClick={() => this.props.actions.removeAuthorization()}>Log out</button>
);