From 059d86d17360660d253355c781834f4606773ef7 Mon Sep 17 00:00:00 2001 From: Przemek Date: Tue, 23 Apr 2024 10:45:57 +0200 Subject: [PATCH] hide register --- .../organisms/LoginForm/LoginForm.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/organisms/LoginForm/LoginForm.tsx b/src/components/organisms/LoginForm/LoginForm.tsx index e6fa8581..02ea76f8 100644 --- a/src/components/organisms/LoginForm/LoginForm.tsx +++ b/src/components/organisms/LoginForm/LoginForm.tsx @@ -200,13 +200,17 @@ export const LoginForm: React.FC = ({ {t("Login.NotRemember")} - {t("Login.NoAccount")} - + {!submitText && ( + <> + {t("Login.NoAccount")} + + + )} ); };