gallery?
This commit is contained in:
parent
8808b5e9aa
commit
7261d71929
@ -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 }))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user