diff --git a/tunestats/app/components/display.tsx b/tunestats/app/components/display.tsx index d53cf66..88f89d1 100644 --- a/tunestats/app/components/display.tsx +++ b/tunestats/app/components/display.tsx @@ -13,7 +13,7 @@ export default function Display(props:any) {
- {data.map((t) => ( + {data.map((t:any) => ( redirClick(t.uri)} className="hover:text-primary">
{ - let trackInfo = tracks + let trackInfo:any = tracks axios.get("https://api.spotify.com/v1/me/top/tracks", { headers: { Authorization: `Bearer ${token}`, @@ -77,7 +77,7 @@ export default function Page() { } const getArtists = (data:any, type:any, token:string) => { - let artistInfo = artists + let artistInfo:any = artists axios.get("https://api.spotify.com/v1/me/top/artists", { headers: { Authorization: `Bearer ${token}`, @@ -101,7 +101,7 @@ export default function Page() { .catch((error) => console.log(error)); } - const getRecents = (token) => { + const getRecents = (token:any) => { let recentInfo = recents axios.get("https://api.spotify.com/v1/me/player/recently-played", { headers: {