This commit is contained in:
Martin Quarda 2024-10-07 17:01:56 +02:00
parent 8808b5e9aa
commit 7261d71929

View File

@ -47,6 +47,9 @@ class Main extends Component {
} }
window.addEventListener("hashchange", (e) => {this.onHashChange(e)}) window.addEventListener("hashchange", (e) => {this.onHashChange(e)})
} }
openGallery = (i) => {
this.setState({gallery_open: i})
}
closePhoto = () => { closePhoto = () => {
this.setState(state => ({ photoIsOpen: false })) this.setState(state => ({ photoIsOpen: false }))
} }