diff --git a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx index 24f7d56bbb..eb1a804b57 100644 --- a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx +++ b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx @@ -1,5 +1,4 @@ import type { Collection } from "@/media/collection"; -import { AddPersonDialog } from "@/new/photos/components/AddPersonDialog"; import { GalleryBarImpl, type GalleryBarImplProps, @@ -99,7 +98,6 @@ export const GalleryBarAndListHeader: React.FC = ({ const [openCollectionShareView, setOpenCollectionShareView] = useState(false); const [openAlbumCastDialog, setOpenAlbumCastDialog] = useState(false); - const [openPeopleSelector, setOpenPeopleSelector] = useState(false); const [collectionsSortBy, setCollectionsSortBy] = useCollectionsSortByLocalState("updation-time-desc"); @@ -185,13 +183,6 @@ export const GalleryBarAndListHeader: React.FC = ({ // people, ]); - // TODO-Cluster - useEffect(() => { - if (process.env.NEXT_PUBLIC_ENTE_WIP_CL) { - setOpenPeopleSelector(true); - } - }, []); - if (shouldBeHidden) { return <>; } @@ -241,12 +232,6 @@ export const GalleryBarAndListHeader: React.FC = ({ onClose={() => setOpenAlbumCastDialog(false)} collection={activeCollection} /> - setOpenPeopleSelector(false)} - people={[]} - cluster={{ id: "test", faces: [] }} - /> ); };