From 90c6581aa4cccf3b265cdbe3cae9d538c816c3f8 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 01:55:02 +0200 Subject: [PATCH] modified code --- onzer.riot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/onzer.riot b/onzer.riot index 8a6f7bf..be160d4 100644 --- a/onzer.riot +++ b/onzer.riot @@ -18,9 +18,10 @@ export default { async onBeforeMount(props){ this.state.placeholder = 'Rechercher dans les albums'; + let test = await this.fetchSong(); this.state = { placeholder: "caca", - items: await this.fetchSong() + items: test.results; }; console.log(this.state); },