fix
This commit is contained in:
parent
d31602f518
commit
1d9c6b74f2
@ -110,9 +110,7 @@ class Main extends Component {
|
|||||||
render(){
|
render(){
|
||||||
let photos_gallery = [];
|
let photos_gallery = [];
|
||||||
let photos_carousel = [];
|
let photos_carousel = [];
|
||||||
console.log(this.state.photos);
|
|
||||||
if(this.state.gallery_open !== undefined){
|
if(this.state.gallery_open !== undefined){
|
||||||
console.log(this.state.photos[this.state.gallery_open].photos)
|
|
||||||
for (const photo of this.state.photos[this.state.gallery_open].photos){
|
for (const photo of this.state.photos[this.state.gallery_open].photos){
|
||||||
photos_gallery.push({
|
photos_gallery.push({
|
||||||
src: photo.thumbnail,
|
src: photo.thumbnail,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user