diff --git a/src/components/MasonryGallery.js b/src/components/MasonryGallery.js index 5a41144..f459911 100644 --- a/src/components/MasonryGallery.js +++ b/src/components/MasonryGallery.js @@ -19,7 +19,7 @@ const MasonryGallery = ({ [aspectTargetsByBreakpoint] ); - const { breakpoint } = useBreakpoint(breakpoints, "md"); + const { breakpoint } = useBreakpoint(breakpoints, "sm"); const scrollIntoView = React.useCallback(() => { if (!window.location.hash) { @@ -87,6 +87,8 @@ const MasonryGallery = ({ let cursor = 0; return ( + <> + {/* {breakpoint} */}
+ ); - // return null; }; export default MasonryGallery; diff --git a/src/pages/photogallery.js b/src/pages/photogallery.js index 2a72fe1..f92be9b 100644 --- a/src/pages/photogallery.js +++ b/src/pages/photogallery.js @@ -148,6 +148,7 @@ const GalleryPage = ({ data }) => {