Skip to content

armgit / ente

Public Imported from GitHub
0

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

rename

Manav Rathibe222f53bfc7
diff --git a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
index 2b26c6c4a7..a92227aef5 100644
--- a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
+++ b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
@@ -1,5 +1,5 @@
import type { Collection } from "@/media/collection";
-import { PersonListHeader } from "@/new/photos/components/Gallery";
+import { PeopleHeader } from "@/new/photos/components/Gallery";
import {
GalleryBarImpl,
type GalleryBarImplProps,
@@ -172,7 +172,7 @@ export const GalleryBarAndListHeader: React.FC<CollectionsProps> = ({
onCollectionCast={() => setOpenAlbumCastDialog(true)}
/>
) : (
- <PersonListHeader
+ <PeopleHeader
person={ensure(activePerson)}
appContext={appContext}
/>
diff --git a/web/packages/new/photos/components/Gallery/index.tsx b/web/packages/new/photos/components/Gallery/index.tsx
index 325c65bacf..05c4c55edd 100644
--- a/web/packages/new/photos/components/Gallery/index.tsx
+++ b/web/packages/new/photos/components/Gallery/index.tsx
@@ -53,12 +53,12 @@ export const SearchResultsHeader: React.FC<SearchResultsHeaderProps> = ({
</GalleryItemsHeaderAdapter>
);
-interface PeopleListHeaderProps {
+interface PeopleHeaderProps {
person: Person;
appContext: NewAppContextPhotos;
}
-export const PersonListHeader: React.FC<PeopleListHeaderProps> = ({
+export const PeopleHeader: React.FC<PeopleHeaderProps> = ({
person,
appContext,
}) => {