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