Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove-comments

Aswin Asok7704196bdb6b
diff --git a/web/apps/photos/src/components/auth/AuthDialog.tsx b/web/apps/photos/src/components/auth/AuthDialog.tsx
index 3d25aa99ca..79402c1e65 100644
--- a/web/apps/photos/src/components/auth/AuthDialog.tsx
+++ b/web/apps/photos/src/components/auth/AuthDialog.tsx
@@ -14,11 +14,6 @@ interface AuthDialogProps extends React.PropsWithChildren {
ariaLabelledby?: string;
}
-/**
- * The dialog frame shared by the modals of the new Photos auth presentation:
- * a 456px centered card over a dimmed backdrop on desktop, and a bottom sheet
- * with a drag handle on mobile widths.
- */
export const AuthDialog: React.FC<AuthDialogProps> = ({
open,
onClose,
diff --git a/web/apps/photos/src/components/auth/DevSettingsDialog.tsx b/web/apps/photos/src/components/auth/DevSettingsDialog.tsx
index 38c5105004..7f8d194886 100644
--- a/web/apps/photos/src/components/auth/DevSettingsDialog.tsx
+++ b/web/apps/photos/src/components/auth/DevSettingsDialog.tsx
@@ -19,7 +19,6 @@ import {
} from "./styles";
import { TextField } from "./TextField";
-/** Photos styling for the shared developer-settings controller. */
export function DevSettingsDialog({
open,
onDialogClose,
diff --git a/web/apps/photos/src/components/auth/RecoveryForm.tsx b/web/apps/photos/src/components/auth/RecoveryForm.tsx
index ae994d858d..406b28c173 100644
--- a/web/apps/photos/src/components/auth/RecoveryForm.tsx
+++ b/web/apps/photos/src/components/auth/RecoveryForm.tsx
@@ -24,8 +24,6 @@ import { TextLink } from "./TextLink";
export function RecoverAccountForm(
props: RecoverAccountPresentationProps,
): React.JSX.Element {
- // Present the no-recovery-key notice in the styled auth dialog instead of
- // the shared MiniDialog the page supplies via onNoRecoveryKey.
const [showNoRecoveryKey, setShowNoRecoveryKey] = useState(false);
return (
diff --git a/web/apps/photos/src/components/auth/styles.ts b/web/apps/photos/src/components/auth/styles.ts
index 9e490a6dbe..3c422abb4a 100644
--- a/web/apps/photos/src/components/auth/styles.ts
+++ b/web/apps/photos/src/components/auth/styles.ts
@@ -75,10 +75,6 @@ export const authMiniTypography = {
lineHeight: "16px",
};
-/**
- * The column layout for an {@link AuthDialog}'s content. Apply to the direct
- * child that holds the dialog's sections (header, fields, buttons).
- */
export const authDialogContentLayout = {
display: "flex",
flexDirection: "column",