modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 14:55:23 +02:00
parent e36d8b1f33
commit dc38d28b84
2 changed files with 2 additions and 3 deletions

View File

@ -27,8 +27,7 @@
}
riot.compile().then(() => {
riot.mount('onzer', {items: wait_data()}
);
riot.mount('onzer', {items: wait_data()});
})
</script>

View File

@ -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();