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