rename
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -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,
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user