diff --git a/onzer.riot b/onzer.riot index fa1c58c..116ea44 100644 --- a/onzer.riot +++ b/onzer.riot @@ -30,11 +30,11 @@ let caca = await props.items; this.state = { placeholder: "Rechercher dans les albums", - items: caca, + items: caca.results, search: "albums" }; console.log(caca); - console.log(this.state.items.results); + console.log(this.state.items); this.album_style = "isActivate"; this.paintButton(); this.update();