From 09a63c298ac050ef50acd7d5ce72ba86616d1c06 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Mon, 7 Oct 2024 17:23:11 +0200 Subject: [PATCH] fix gallery? --- frontend/src/scripts/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 182c1ac..b39df46 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -182,8 +182,7 @@ class Main extends Component { } {this.state.page == "#gallery" &&
- {console.log(this.state.photos)} - {this.state.photos.map((photos, index) => { + {this.state.photos.map((photos, index) =>
@@ -191,7 +190,7 @@ class Main extends Component { this.openGallery(index)}>Otevřít galerii
- })} + )}
} {this.state.page == "#gallery" && this.state.gallery_open &&