modified code
This commit is contained in:
parent
a50efc5181
commit
403ef7b304
@ -71,9 +71,10 @@
|
|||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
async list(){
|
async list(){
|
||||||
|
let data = await props.items;
|
||||||
this.state = {
|
this.state = {
|
||||||
placeholder: "Rechercher dans les songs",
|
placeholder: "Rechercher dans les songs",
|
||||||
items: await this.fetchData()
|
items: data.results;
|
||||||
};
|
};
|
||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user