From 2e48e0ad64eb5f85eb8f91006ba4bcad71d1597d Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Sun, 23 Apr 2017 10:32:18 +1200 Subject: [PATCH] Show force refresh token even when not in _test --- src/js/components/SpotifyAuthenticationFrame.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/js/components/SpotifyAuthenticationFrame.js b/src/js/components/SpotifyAuthenticationFrame.js index 1a664e96..d7c07a50 100755 --- a/src/js/components/SpotifyAuthenticationFrame.js +++ b/src/js/components/SpotifyAuthenticationFrame.js @@ -84,9 +84,9 @@ class SpotifyAuthenticationFrame extends React.Component{ } renderRefreshButton(){ - if( !this.props.authorized || !window._testMode) return null; + if (!this.props.authorized) return null - if( this.props.refreshing_token ){ + if (this.props.refreshing_token){ return ( ); - }else{ + } else { return ( - - ); + + ) } }