lint fix
This commit is contained in:
parent
2103706c99
commit
f30ebb5e11
@ -20,7 +20,7 @@ const GalleryPage = ({ data }) => {
|
|||||||
const hash =
|
const hash =
|
||||||
typeof window !== "undefined" ? window.location.hash.replace("#", "") : "";
|
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)
|
// ^ 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 [filterKeyword, _setKeyword] = React.useState(null);
|
||||||
const [sortKey, _setSortKey] = React.useState("rating");
|
const [sortKey, _setSortKey] = React.useState("rating");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user