reloaded data on photoswipe gallery close
This commit is contained in:
parent
c4e16ecfba
commit
49410a0eca
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ export default function Gallery(props) {
|
|||
|
||||
const handleClose = () => {
|
||||
setOpen(false);
|
||||
setReload(Math.random());
|
||||
};
|
||||
|
||||
const onThumbnailClick = (index: number) => () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue