modified code
This commit is contained in:
parent
a55529abff
commit
da605a8acb
@ -30,11 +30,11 @@
|
|||||||
let caca = await props.items;
|
let caca = await props.items;
|
||||||
this.state = {
|
this.state = {
|
||||||
placeholder: "Rechercher dans les albums",
|
placeholder: "Rechercher dans les albums",
|
||||||
items: caca,
|
items: caca.results,
|
||||||
search: "albums"
|
search: "albums"
|
||||||
};
|
};
|
||||||
console.log(caca);
|
console.log(caca);
|
||||||
console.log(this.state.items.results);
|
console.log(this.state.items);
|
||||||
this.album_style = "isActivate";
|
this.album_style = "isActivate";
|
||||||
this.paintButton();
|
this.paintButton();
|
||||||
this.update();
|
this.update();
|
||||||
|
Loading…
Reference in New Issue
Block a user