This commit is contained in:
Martin Quarda 2024-10-07 17:45:41 +02:00
parent d31602f518
commit 1d9c6b74f2

View File

@ -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,