Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix warning

Manav Rathi8589fbe97ca0
diff --git a/web/apps/photos/src/components/Collections/AllCollections/index.tsx b/web/apps/photos/src/components/Collections/AllCollections/index.tsx
index 7be7d411d6..ebbfc9a3ed 100644
--- a/web/apps/photos/src/components/Collections/AllCollections/index.tsx
+++ b/web/apps/photos/src/components/Collections/AllCollections/index.tsx
@@ -71,7 +71,7 @@ export default function AllCollections(props: AllCollectionsProps) {
);
}
-export const AllCollectionMobileBreakpoint = 559
+export const AllCollectionMobileBreakpoint = 559;
const AllCollectionDialog = styled(Dialog)(({ theme }) => ({
"& .MuiDialog-container": {
diff --git a/web/apps/photos/src/components/PhotoList/index.tsx b/web/apps/photos/src/components/PhotoList/index.tsx
index 5114d11bf7..06ca262a96 100644
--- a/web/apps/photos/src/components/PhotoList/index.tsx
+++ b/web/apps/photos/src/components/PhotoList/index.tsx
@@ -153,7 +153,9 @@ const FooterContainer = styled(ListItemContainer)`
margin-top: calc(2rem + 20px);
`;
-const AlbumFooterContainer = styled(ListItemContainer)<{
+const AlbumFooterContainer = styled(ListItemContainer, {
+ shouldForwardProp: (propName) => propName != "hasReferral",
+})<{
hasReferral: boolean;
}>`
margin-top: 48px;