From 0c0f26bb187da3af3b8b505bf0c1f4aa4d6e4717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 12 Feb 2021 16:57:18 +0100 Subject: [PATCH] :bug: Fix two small typos --- frontend/src/app/main/ui/auth/register.cljs | 1 + frontend/src/app/main/ui/settings/change_email.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/auth/register.cljs b/frontend/src/app/main/ui/auth/register.cljs index 96635d64b..c5acb1dac 100644 --- a/frontend/src/app/main/ui/auth/register.cljs +++ b/frontend/src/app/main/ui/auth/register.cljs @@ -23,6 +23,7 @@ [app.util.i18n :refer [tr t]] [app.util.router :as rt] [app.util.timers :as tm] + [beicon.core :as rx] [cljs.spec.alpha :as s] [cuerdas.core :as str] [rumext.alpha :as mf])) diff --git a/frontend/src/app/main/ui/settings/change_email.cljs b/frontend/src/app/main/ui/settings/change_email.cljs index f4c665f77..b35bc8af3 100644 --- a/frontend/src/app/main/ui/settings/change_email.cljs +++ b/frontend/src/app/main/ui/settings/change_email.cljs @@ -51,7 +51,7 @@ (rx/of (dm/error (tr "errors.profile-is-muted"))) :email-has-permanent-bounces - (let [email (get @form [:data email])] + (let [email (get @form [:data :email-1])] (rx/of (dm/error (tr "errors.email-has-permanent-bounces" email)))) (rx/throw error)))