diff --git a/onzer.riot b/onzer.riot index 8ee1a72..103925c 100644 --- a/onzer.riot +++ b/onzer.riot @@ -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(); },