This commit is contained in:
Manav Rathi 2024-05-25 07:25:10 +05:30
parent b26b0759d6
commit 94c1cc011b
No known key found for this signature in database
3 changed files with 3 additions and 7 deletions

View file

@ -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>

View file

@ -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} />
);

View file

@ -54,9 +54,7 @@ export default function DialogBox({
{attributes.title && (
<DialogTitleWithCloseButton
onClose={
titleCloseButton &&
!attributes.nonClosable &&
handleClose
titleCloseButton && !attributes.nonClosable && onClose
}
>
{attributes.title}