π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Unprop
Manav Rathi38895eaf56f9
diff --git a/web/packages/accounts/pages/two-factor/setup.tsx b/web/packages/accounts/pages/two-factor/setup.tsxindex a3bfe6b9e9..bd7fef9c16 100644--- a/web/packages/accounts/pages/two-factor/setup.tsx+++ b/web/packages/accounts/pages/two-factor/setup.tsx@@ -69,7 +69,7 @@ const Page: React.FC = () => {onSubmit={onSubmit}buttonText={t("enable")}/>- <LinkButton sx={{ mt: 1 }} onClick={router.back}>+ <LinkButton onClick={router.back}>{t("go_back")}</LinkButton></Stack>diff --git a/web/packages/shared/components/LinkButton.tsx b/web/packages/shared/components/LinkButton.tsxindex 89f9eb59f4..d7de467909 100644--- a/web/packages/shared/components/LinkButton.tsx+++ b/web/packages/shared/components/LinkButton.tsx@@ -1,12 +1,6 @@import { Link, type ButtonProps, type LinkProps } from "@mui/material";import React from "react";-export type LinkButtonProps = React.PropsWithChildren<{- onClick: () => void;- variant?: string;- style?: React.CSSProperties;-}>;-const LinkButton: React.FC<LinkProps<"button", { color?: ButtonProps["color"] }>> = ({ children, sx, color, ...props }) => {