Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(mapView):thumbnails-not-loaded-initally

Aswin Asok0d5bba57e269
diff --git a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx
index 919d7bb4d1..5bc3aadd9f 100644
--- a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx
@@ -1510,6 +1510,7 @@ const MapCanvas = React.memo(function MapCanvas({
onVisiblePhotosChange={onVisiblePhotosChange}
/>
<MarkerClusterGroup
+ key={thumbByFileID.size}
chunkedLoading
iconCreateFunction={createClusterCustomIcon}
maxClusterRadius={80}