Skip to content

Commit

Permalink
remove debug calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sam9116 committed Feb 9, 2024
1 parent b5df401 commit 45b131f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/YourFavoriteSpotifyArtists.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,10 @@ function YourFavoriteSpotifyArtists({ onChildClick, startDate, endDate }) {
if (res.status === 200) {
let resJson = await res.json();

console.log(`access_token: ${resJson.access_token}`);
localStorage.setItem("access_token", resJson.access_token);
console.log(`token_type: ${resJson.token_type}`);
localStorage.setItem("token_type", resJson.token_type);
console.log(`expires_in: ${resJson.expires_in}`);
localStorage.setItem("expires_in", resJson.expires_in);
console.log(`refresh_token: ${resJson.refresh_token}`);
localStorage.setItem("refresh_token", resJson.refresh_token);
console.log(`scope: ${resJson.scope}`);
localStorage.setItem("scope", resJson.scope);
}
return;
Expand All @@ -69,9 +64,6 @@ function YourFavoriteSpotifyArtists({ onChildClick, startDate, endDate }) {
}
}, [code, codeVerifier])




let getSpotifyArtist = async () => {

setDisableButton(true);
Expand Down

0 comments on commit 45b131f

Please sign in to comment.