GA for zoom

This commit is contained in:
CPunisher 2020-07-01 23:28:09 +08:00
parent 622712cb4a
commit 81aaf64738
1 changed files with 1 additions and 1 deletions

View File

@ -104,9 +104,9 @@ const PartMore = () => {
const Gallery = ({ contents }) => {
const zoom = mediumZoom();
const zoomRef = React.useRef(zoom);
zoom.on('open', event => {handleZoom(event.target.src)})
const zoomRef = React.useRef(zoom);
return (
contents.map((url, index) => (
<LazyLoad key={'lazy_gallery_' + index} offsetVertical={200}>