Skip to content

Commit

Permalink
Correct typo in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
kohei-s committed May 15, 2024
1 parent ae261c4 commit a1c5e25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Security/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function LoginPage(props: Props) {
placeholder={"Username"}/>
</Typography>
<Typography component="div">
<TextField id="login-passwort" label="passwort" onInput={(event: React.ChangeEvent<HTMLInputElement>) => {setPassword(event.target.value)}}
<TextField id="login-password" label="password" onInput={(event: React.ChangeEvent<HTMLInputElement>) => {setPassword(event.target.value)}}
placeholder={"Password"} type={"password"}/>
</Typography>
<Button variant="contained" onClick={onLogin} disableRipple={true} sx={{
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Security/RegisterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function RegisterPage(props: Props) {
placeholder={"Username"}/>
</Typography>
<Typography component="div">
<TextField id="register-passwort" label="passwort" onInput={(event: React.ChangeEvent<HTMLInputElement>) => {setPassword(event.target.value)}}
<TextField id="register-password" label="password" onInput={(event: React.ChangeEvent<HTMLInputElement>) => {setPassword(event.target.value)}}
placeholder={"Password"} type={"password"}/>
</Typography>
<Button variant="contained" onClick={onRegister} disableRipple={true} sx={{
Expand Down

0 comments on commit a1c5e25

Please sign in to comment.