modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 02:01:56 +02:00
parent 7171891ab5
commit 8662895cff

View File

@ -65,6 +65,7 @@
placeholder: "caca", placeholder: "caca",
items: await this.fetchSong() items: await this.fetchSong()
}; };
console.log(this.state);
}, },
fetchSong(){ fetchSong(){
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => { return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => {