This commit is contained in:
Manav Rathi
2024-09-26 16:24:50 +05:30
parent 0498c70bad
commit be222f53bf
2 changed files with 4 additions and 4 deletions

View File

@@ -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}
/>

View File

@@ -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,
}) => {