diff --git a/src/js/components/Fields/FollowButton.js b/src/js/components/Fields/FollowButton.js index 04e451cd..927e57ef 100755 --- a/src/js/components/Fields/FollowButton.js +++ b/src/js/components/Fields/FollowButton.js @@ -6,6 +6,7 @@ import * as spotifyActions from '../../services/spotify/actions'; import { isLoading, getFromUri } from '../../util/helpers'; import { i18n } from '../../locale'; import { Button } from '../Button'; +import { makeLoadingSelector } from '../../util/selectors'; class FollowButton extends React.Component { remove = () => { @@ -34,23 +35,16 @@ class FollowButton extends React.Component { removeText, spotify_authorized, is_following, - load_queue, + loading, } = this.props; if (!uri) return null; - const working = isLoading(load_queue, [ - 'spotify_me/tracks?', - 'spotify_me/albums?', - 'spotify_me/following?', - `spotify_playlists/${getFromUri('playlistid', uri)}/followers?`, - ]); - if (!spotify_authorized) { return (