Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add a TODO and fix typo

Manav Rathiea57815945ed
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 });