diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
commit | f68585db5f9ba0f760e22dada474fd7ec2847796 (patch) | |
tree | b1efaf9560df032225f7aa1debdb4e8624261b92 /packages/demobank-ui/src/pages/RegistrationPage.tsx | |
parent | 58d45fc8aef174027b2855a3cd24b0eb73d6de2e (diff) | |
download | wallet-core-f68585db5f9ba0f760e22dada474fd7ec2847796.tar.xz |
pretty
Diffstat (limited to 'packages/demobank-ui/src/pages/RegistrationPage.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/RegistrationPage.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx index cbf5758aa..b7b02b76d 100644 --- a/packages/demobank-ui/src/pages/RegistrationPage.tsx +++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx @@ -218,7 +218,9 @@ function RegistrationForm({ ? "123" : getRandomPassword(); const username = `_${user.first}-${user.second}_`; - const name = `${capitalizeFirstLetter(user.first)} ${capitalizeFirstLetter(user.second)}`; + const name = `${capitalizeFirstLetter(user.first)} ${capitalizeFirstLetter( + user.second, + )}`; await doRegistrationAndLogin(name, username, password, () => { onRegistrationSuccesful(username, password); }); |