Error rendering components for final project of 'Create a Front-End App with React

Howdy everyone,
First off this is my first time posting here so if anything is incorrect or out of place I apologize, please let me know and I will try to fix it.

I have been going through the ‘Create a Front-End App with React (https://www.codecademy.com/enrolled/paths/build-web-apps-with-react)’ course and have mostly finished building the final project which uses the Spotify API in order to request track and add playlist to a users account. I have followed the documentation on Spotify’s website in order to receive an authorization key and an access token with the relevant code in the files ‘Authorize.js’ and ‘AccessToken.js’ respectively.
The problem that I have been running into is it seems that the Effect Hook that is used to request the access token is being run twice, dispite the only thing in the dependancy array, ‘currentUrl’, not changing. I am guessing this is some problem with how the components are rendering, but I cannot seem to pinpoint the cause.

Any help would be greatly appreciated, and please let me know if you need any more information about anything.

The project is available for review at:
Jamming/src at 1e4ff4298a652ec447e2209252c4b9b04be81b6a · JacSanders/Jamming · GitHub

Again thank you in advance for any help,
Jacob Sanders