text: export default async () => {
    return fetch(`https://api.spotify.com/v1/me/player/currently-playing`, {
      method: "GET",
      headers: {
        Authorization: `Bearer ${localStorage.getItem("token")}`,
      },
    })
      .then(r => {
        return r.json()
      })
      .then(data => {
        return data
      })
      .catch(err => {
        return { error: "error" }
      })
  }
  