Skip to content

armgit / ente

Public Imported from GitHub
0

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

Prune

Manav Rathiec37cb3effc0
diff --git a/web/packages/base/components/MiniDialog.tsx b/web/packages/base/components/MiniDialog.tsx
index 59e285299c..63b50cd237 100644
--- a/web/packages/base/components/MiniDialog.tsx
+++ b/web/packages/base/components/MiniDialog.tsx
@@ -231,8 +231,6 @@ export interface DialogBoxV2Attributes {
* reset or override these customizations.
*/
title?: React.ReactNode;
- staticBackdrop?: boolean;
- nonClosable?: boolean;
/**
* Customize the cancel (dismiss) action button offered by the dialog box.
*
@@ -279,18 +277,12 @@ export function DialogBoxV2({
return <></>;
}
- const handleClose = dialogCloseHandler({
- staticBackdrop: attributes.staticBackdrop,
- nonClosable: attributes.nonClosable,
- onClose: onClose,
- });
-
const { PaperProps, ...rest } = props;
return (
<Dialog
open={open}
- onClose={handleClose}
+ onClose={onClose}
PaperProps={{
...PaperProps,
sx: {