diff --git a/src/pages/photogallery.js b/src/pages/photogallery.js index edeb99c..9cff4a5 100644 --- a/src/pages/photogallery.js +++ b/src/pages/photogallery.js @@ -13,7 +13,9 @@ const GalleryPage = ({ data }) => { () => R.pipe( R.map((edge) => edge.node), - debug ? R.sortBy(R.path(["fields", "imageMeta", "dominantHue", 0])) : R.identity + debug + ? R.sortBy(R.path(["fields", "imageMeta", "dominantHue", 0])) + : R.identity )(data.allFile.edges), [data, debug] ); @@ -50,7 +52,8 @@ const GalleryPage = ({ data }) => {