m4ndycheung / cyf-stay-tuned-radio

https://stay-tuned-radio-frontend.onrender.com
Other
3 stars 3 forks source link

add Spotify playlist update button #93

Closed ManSangSin closed 6 months ago

ManSangSin commented 6 months ago

create a button component called updateSpotifyPlaylistButton import button component into App.jsx installed jwt-decode module and added as dependency used jwt-decode to get role from jwt and set userRole state show/hide updateSpotifyPlaylistButton depending on userRole set