Skip to content

armgit / ente

Public Imported from GitHub
0

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

lf

Manav Rathi94c1cc011bda
diff --git a/web/apps/photos/src/components/Upload/CollectionMappingChoiceModal.tsx b/web/apps/photos/src/components/Upload/CollectionMappingChoiceModal.tsx
index c358a2d1d5..433f4a3b84 100644
--- a/web/apps/photos/src/components/Upload/CollectionMappingChoiceModal.tsx
+++ b/web/apps/photos/src/components/Upload/CollectionMappingChoiceModal.tsx
@@ -22,7 +22,7 @@ export const CollectionMappingChoiceModal: React.FC<
return (
<Dialog open={open} onClose={handleClose}>
- <DialogTitleWithCloseButton onClose={handleClose}>
+ <DialogTitleWithCloseButton onClose={onClose}>
{t("MULTI_FOLDER_UPLOAD")}
</DialogTitleWithCloseButton>
<DialogContent>
diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx
index 98dba10c54..492785c91a 100644
--- a/web/apps/photos/src/pages/index.tsx
+++ b/web/apps/photos/src/pages/index.tsx
@@ -25,7 +25,6 @@ import { useContext, useEffect, useState } from "react";
import { Trans } from "react-i18next";
import { AppContext } from "./_app";
-
export default function LandingPage() {
const router = useRouter();
const appContext = useContext(AppContext);
@@ -178,7 +177,7 @@ const SlideContainer = styled("div")`
const Logo_ = styled("div")`
margin-block-end: 64px;
-`
+`;
const DesktopBox = styled("div")`
flex: 1;
@@ -266,7 +265,6 @@ const Slideshow: React.FC = () => {
);
};
-
const TextContainer = (props: TypographyProps) => (
<Typography color={"text.muted"} mt={2} mb={3} {...props} />
);
diff --git a/web/packages/shared/components/DialogBox/index.tsx b/web/packages/shared/components/DialogBox/index.tsx
index 133c2233c4..abe5c09cd1 100644
--- a/web/packages/shared/components/DialogBox/index.tsx
+++ b/web/packages/shared/components/DialogBox/index.tsx
@@ -54,9 +54,7 @@ export default function DialogBox({
{attributes.title && (
<DialogTitleWithCloseButton
onClose={
- titleCloseButton &&
- !attributes.nonClosable &&
- handleClose
+ titleCloseButton && !attributes.nonClosable && onClose
}
>
{attributes.title}