From a1c5e25840d69718c0b9bcb9518c5420d3c24049 Mon Sep 17 00:00:00 2001 From: kohei-s Date: Wed, 15 May 2024 11:26:36 +0200 Subject: [PATCH 1/2] Correct typo in frontend --- frontend/src/Security/LoginPage.tsx | 2 +- frontend/src/Security/RegisterPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Security/LoginPage.tsx b/frontend/src/Security/LoginPage.tsx index 15599d8..4683934 100644 --- a/frontend/src/Security/LoginPage.tsx +++ b/frontend/src/Security/LoginPage.tsx @@ -26,7 +26,7 @@ export default function LoginPage(props: Props) { placeholder={"Username"}/> - ) => {setPassword(event.target.value)}} + ) => {setPassword(event.target.value)}} placeholder={"Password"} type={"password"}/> -
- ☺︎ Not registered yet? -
+
+ + ) => { + setUsername(event.target.value) + }} + placeholder={"Username"}/> + + + ) => { + setPassword(event.target.value) + }} + placeholder={"Password"} type={"password"}/> + + +
+ ☺︎ Not registered yet?
- +
) } diff --git a/frontend/src/Security/RegisterPage.tsx b/frontend/src/Security/RegisterPage.tsx index ec24e80..78d85c0 100644 --- a/frontend/src/Security/RegisterPage.tsx +++ b/frontend/src/Security/RegisterPage.tsx @@ -16,27 +16,31 @@ export default function RegisterPage(props: Props) { } return ( - <> -
- - ) => {setUsername(event.target.value)}} - placeholder={"Username"}/> - - - ) => {setPassword(event.target.value)}} - placeholder={"Password"} type={"password"}/> - - -
- ☺︎ Welcome to the KoToKo! -
+
+ + ) => { + setUsername(event.target.value) + }} + placeholder={"Username"}/> + + + ) => { + setPassword(event.target.value) + }} + placeholder={"Password"} type={"password"}/> + + +
+ ☺︎ Welcome to the KoToKo!
- +
) }