diff --git a/index.html b/index.html index 4d5d244..0e300ce 100644 --- a/index.html +++ b/index.html @@ -27,8 +27,7 @@ } riot.compile().then(() => { - riot.mount('onzer', {items: wait_data()} - ); + riot.mount('onzer', {items: wait_data()}); }) diff --git a/onzer.riot b/onzer.riot index 1bbc92b..1876d5c 100644 --- a/onzer.riot +++ b/onzer.riot @@ -33,7 +33,7 @@ console.log(props); this.state = { placeholder: "Rechercher dans les albums", - items: props.results, + items: props.items.results, search: "albums" }; this.paintButton();