diff --git a/apps/desktop/layer/renderer/src/modules/profile/account-management.tsx b/apps/desktop/layer/renderer/src/modules/profile/account-management.tsx index d6b0c2893..6e4f12ded 100644 --- a/apps/desktop/layer/renderer/src/modules/profile/account-management.tsx +++ b/apps/desktop/layer/renderer/src/modules/profile/account-management.tsx @@ -1,4 +1,4 @@ -import { Button } from "@follow/components/ui/button/index.js" +import { styledButtonVariant } from "@follow/components/ui/button/variants.js" import { authProvidersConfig } from "@follow/constants" import { IN_ELECTRON } from "@follow/shared/constants" import { cn } from "@follow/utils/utils" @@ -32,9 +32,12 @@ function AuthProviderButton({ provider }: { provider: string }) { if (!account && IN_ELECTRON) return null return ( - + ) } diff --git a/apps/desktop/layer/renderer/src/modules/profile/update-password-form.tsx b/apps/desktop/layer/renderer/src/modules/profile/update-password-form.tsx index 76e2065ea..501688ed1 100644 --- a/apps/desktop/layer/renderer/src/modules/profile/update-password-form.tsx +++ b/apps/desktop/layer/renderer/src/modules/profile/update-password-form.tsx @@ -36,6 +36,8 @@ const updatePasswordFormSchema = z const UpdateExistingPasswordForm = () => { const { t } = useTranslation("settings") + const { t: tApp } = useTranslation("app") + const form = useForm>({ resolver: zodResolver(updatePasswordFormSchema), defaultValues: { @@ -119,7 +121,14 @@ const UpdateExistingPasswordForm = () => { )} /> -
+
+ + {tApp("login.forget_password.note")} +