From f30ebb5e11585920b9b2ac66327dafccc998c8bd Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 10 Jul 2022 18:27:16 -0700 Subject: [PATCH] lint fix --- src/pages/photogallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/photogallery.js b/src/pages/photogallery.js index 86514e4..534925f 100644 --- a/src/pages/photogallery.js +++ b/src/pages/photogallery.js @@ -20,7 +20,7 @@ const GalleryPage = ({ data }) => { const hash = typeof window !== "undefined" ? window.location.hash.replace("#", "") : ""; - const [hashCleared, setHashCleared] = React.useState(false); + const [hashCleared, setHashCleared] = React.useState(false); // eslint-disable-line no-unused-vars // ^ used just to force a re-render with the cleared hash value (I know, it's a smell for sure) const [filterKeyword, _setKeyword] = React.useState(null); const [sortKey, _setSortKey] = React.useState("rating");