Add a TODO and fix typo
This commit is contained in:
parent
9804d448f6
commit
ea57815945
|
@ -445,7 +445,8 @@ export default function Gallery() {
|
||||||
}
|
}
|
||||||
let collectionURL = "";
|
let collectionURL = "";
|
||||||
if (activeCollectionID !== ALL_SECTION) {
|
if (activeCollectionID !== ALL_SECTION) {
|
||||||
collectionURL = `?collection={activeCollectionID}`;
|
// TODO: Is this URL param even used?
|
||||||
|
collectionURL = `?collection=${activeCollectionID}`;
|
||||||
}
|
}
|
||||||
const href = `/gallery${collectionURL}`;
|
const href = `/gallery${collectionURL}`;
|
||||||
router.push(href, undefined, { shallow: true });
|
router.push(href, undefined, { shallow: true });
|
||||||
|
|
Loading…
Reference in a new issue