π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathicfcbed261341
diff --git a/web/apps/photos/src/components/TwoFactor/Modal/index.tsx b/web/apps/photos/src/components/Sidebar/TwoFactorModal.tsxsimilarity index 98%rename from web/apps/photos/src/components/TwoFactor/Modal/index.tsxrename to web/apps/photos/src/components/Sidebar/TwoFactorModal.tsxindex 69afd8fcbc..3a5972710f 100644--- a/web/apps/photos/src/components/TwoFactor/Modal/index.tsx+++ b/web/apps/photos/src/components/Sidebar/TwoFactorModal.tsx@@ -25,11 +25,11 @@ const TwoFactorDialog = styled(Dialog)(({ theme }) => ({},}));-type Props = ModalVisibilityProps & {+type TwoFactorModalProps = ModalVisibilityProps & {closeSidebar: () => void;};-function TwoFactorModal(props: Props) {+function TwoFactorModal(props: TwoFactorModalProps) {const [isTwoFactorEnabled, setTwoFactorStatus] = useState(false);useEffect(() => {diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsxindex 8e8110e65a..ce9f2a6e6e 100644--- a/web/apps/photos/src/components/Sidebar/index.tsx+++ b/web/apps/photos/src/components/Sidebar/index.tsx@@ -47,7 +47,7 @@ import {} from "@mui/material";import Typography from "@mui/material/Typography";import DeleteAccountModal from "components/DeleteAccountModal";-import TwoFactorModal from "components/TwoFactor/Modal";+import TwoFactorModal from "components/Sidebar/TwoFactorModal";import { WatchFolder } from "components/WatchFolder";import LinkButton from "components/pages/gallery/LinkButton";import { t } from "i18next";