Skip to content

armgit / ente

Public Imported from GitHub
0

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

Reorder

Manav Rathi9ce432681e67
diff --git a/web/apps/photos/src/components/Collections/CollectionListBar.tsx b/web/apps/photos/src/components/Collections/CollectionListBar.tsx
index 083ec64f25..b7692765ab 100644
--- a/web/apps/photos/src/components/Collections/CollectionListBar.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionListBar.tsx
@@ -248,13 +248,6 @@ export const CollectionListBar: React.FC<CollectionListBarProps> = ({
);
};
-const CollectionListWrapper = styled(Box)`
- position: relative;
- overflow: hidden;
- height: 86px;
- width: 100%;
-`;
-
const CollectionListBarWrapper = styled(Box)`
padding: 0 24px;
@media (max-width: ${IMAGE_CONTAINER_MAX_WIDTH * MIN_COLUMNS}px) {
@@ -264,6 +257,13 @@ const CollectionListBarWrapper = styled(Box)`
border-bottom: 1px solid ${({ theme }) => theme.palette.divider};
`;
+const CollectionListWrapper = styled(Box)`
+ position: relative;
+ overflow: hidden;
+ height: 86px;
+ width: 100%;
+`;
+
// // TODO-Cluster
// const PeopleHeaderButton = styled("button")(
// ({ theme }) => `
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 448eedd934..2c072df5fc 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -1034,7 +1034,7 @@ export default function Gallery() {
setActiveCollectionID(ALL_SECTION);
};
- const handleSelectPerson = (person: Person) => {
+ const handleSelectPerson = (person: Person | undefined) => {
setActivePerson(person);
setBarMode("people");
};