π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi7e5577ecd743
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsxdeleted file mode 100644index f1aca561ff..0000000000--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { FluidContainer } from "@ente/shared/components/Container";-import ChevronRight from "@mui/icons-material/ChevronRight";-import { Button, ButtonProps } from "@mui/material";--const ManageSubscriptionButton = ({ children, ...props }: ButtonProps) => (- <Button size="large" endIcon={<ChevronRight />} {...props}>- <FluidContainer>{children}</FluidContainer>- </Button>-);--export default ManageSubscriptionButton;diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsxindex dde76f89bd..ef3dcfd521 100644--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx@@ -1,4 +1,6 @@-import { Stack } from "@mui/material";+import { FluidContainer } from "@ente/shared/components/Container";+import ChevronRight from "@mui/icons-material/ChevronRight";+import { Button, ButtonProps, Stack } from "@mui/material";import { t } from "i18next";import { AppContext } from "pages/_app";import { useContext } from "react";@@ -15,7 +17,6 @@ import {manageFamilyMethod,updatePaymentMethod,} from "utils/billing";-import ManageSubscriptionButton from "./button";interface Iprops {subscription: Subscription;@@ -135,3 +136,9 @@ function StripeSubscriptionOptions({</>);}++const ManageSubscriptionButton = ({ children, ...props }: ButtonProps) => (+ <Button size="large" endIcon={<ChevronRight />} {...props}>+ <FluidContainer>{children}</FluidContainer>+ </Button>+);