Skip to content

armgit / ente

Public Imported from GitHub
0

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

Help out tsc

Manav Rathic4021a82f5e9
diff --git a/web/apps/photos/src/components/Collections/CollectionListBar.tsx b/web/apps/photos/src/components/Collections/CollectionListBar.tsx
index c85bcdb35f..f35c61dd1c 100644
--- a/web/apps/photos/src/components/Collections/CollectionListBar.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionListBar.tsx
@@ -157,7 +157,7 @@ export const CollectionListBar: React.FC<CollectionListBarProps> = ({
collectionListRef.current.scrollToItem(activeCollectionIndex, "smart");
}, [activeCollectionID]);
- const itemData = useMemo(
+ const itemData = useMemo<ItemData>(
() =>
mode == "albums" || mode == "hidden-albums"
? {