From da605a8acbf44f57c375d756cdca0605c1136825 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 16:11:48 +0200 Subject: [PATCH] modified code --- onzer.riot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();