From ea57815945edfbae6b2e16b58ba8dce2b865a982 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 6 May 2024 10:23:08 +0530 Subject: [PATCH] Add a TODO and fix typo --- web/apps/photos/src/pages/gallery/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/apps/photos/src/pages/gallery/index.tsx b/web/apps/photos/src/pages/gallery/index.tsx index d883cb61c1..ba0d53d604 100644 --- a/web/apps/photos/src/pages/gallery/index.tsx +++ b/web/apps/photos/src/pages/gallery/index.tsx @@ -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 });