Add a TODO and fix typo

This commit is contained in:
Manav Rathi 2024-05-06 10:23:08 +05:30
parent 9804d448f6
commit ea57815945
No known key found for this signature in database

View file

@ -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 });