diff --git a/src/components/EmailEnterPage/index.tsx b/src/components/EmailEnterPage/index.tsx index df0251e..fe933db 100644 --- a/src/components/EmailEnterPage/index.tsx +++ b/src/components/EmailEnterPage/index.tsx @@ -48,7 +48,13 @@ function EmailEnterPage(): JSX.Element { const payload = { user: { profile_attributes: { birthday } }, token } return api.updateUser(payload) }) - .then(({ user }) => dispatch(actions.user.update(user))) + .then(({ user }) => { + // TODO: remove this when understand btoa issue + if (user?.profile?.sign?.sign) { + user.profile.sign.sign = '' + } + dispatch(actions.user.update(user)) + }) .then(() => navigate(routes.client.subscription())) .catch((error: Error) => setError(error)) .finally(() => setIsLoading(false))