diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-14 16:00:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-14 16:01:45 -0300 |
commit | b1c1da74b43abc3355a70dfc533ad5af8a5f47c9 (patch) | |
tree | 030ea07141fe0012856e7c58b54229e88d82ecff /packages/demobank-ui/src/pages/LoginForm.tsx | |
parent | c004962331934886167df1168611c02bbb643927 (diff) | |
download | wallet-core-b1c1da74b43abc3355a70dfc533ad5af8a5f47c9.tar.xz |
fix some wording
Diffstat (limited to 'packages/demobank-ui/src/pages/LoginForm.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/LoginForm.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/pages/LoginForm.tsx b/packages/demobank-ui/src/pages/LoginForm.tsx index 5eaad4bb0..627252682 100644 --- a/packages/demobank-ui/src/pages/LoginForm.tsx +++ b/packages/demobank-ui/src/pages/LoginForm.tsx @@ -37,8 +37,8 @@ export function LoginForm({ currentUser, fixedUser, onRegister }: { fixedUser?: const { i18n } = useTranslationContext(); const { api } = useBankCoreApiContext(); const [notification, notify, handleError] = useLocalNotification() - const {config} = useBankCoreApiContext(); - + const { config } = useBankCoreApiContext(); + const ref = useRef<HTMLInputElement>(null); useEffect(function focusInput() { ref.current?.focus(); @@ -123,6 +123,7 @@ export function LoginForm({ currentUser, fixedUser, onRegister }: { fixedUser?: enterkeyhint="next" placeholder="identification" autocomplete="username" + title={i18n.str`username of the account`} required onInput={(e): void => { setUsername(e.currentTarget.value); @@ -137,7 +138,9 @@ export function LoginForm({ currentUser, fixedUser, onRegister }: { fixedUser?: <div> <div class="flex items-center justify-between"> - <label for="password" class="block text-sm font-medium leading-6 text-gray-900">Password</label> + <label for="password" class="block text-sm font-medium leading-6 text-gray-900"> + <i18n.Translate>Password</i18n.Translate> + </label> </div> <div class="mt-2"> <input @@ -149,6 +152,7 @@ export function LoginForm({ currentUser, fixedUser, onRegister }: { fixedUser?: enterkeyhint="send" value={password ?? ""} placeholder="Password" + title={i18n.str`password of the account`} required onInput={(e): void => { setPassword(e.currentTarget.value); |