Skip to content

Commit c1679bd

Browse files
committed
Add password placeholder
1 parent 28f1d71 commit c1679bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/components/auth/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ const Login: React.FC<Props> = () => {
9898
handleBlur,
9999
handleSubmit,
100100
isSubmitting,
101-
/* and other goodies */
102101
}) => (
103102
<Box display="flex" flexDirection="column" clone>
104103
<form onSubmit={handleSubmit}>
@@ -114,6 +113,7 @@ const Login: React.FC<Props> = () => {
114113
<TextField
115114
type="password"
116115
name="password"
116+
placeholder="password"
117117
onChange={handleChange}
118118
onBlur={handleBlur}
119119
value={values.password}

frontend/src/components/auth/Signup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ const Signup: React.FC<Props> = () => {
104104
handleBlur,
105105
handleSubmit,
106106
isSubmitting,
107-
/* and other goodies */
108107
}) => (
109108
<Box display="flex" flexDirection="column" clone>
110109
<form onSubmit={handleSubmit}>
@@ -129,6 +128,7 @@ const Signup: React.FC<Props> = () => {
129128
<TextField
130129
type="password"
131130
name="password"
131+
placeholder="password"
132132
onChange={handleChange}
133133
onBlur={handleBlur}
134134
value={values.password}

0 commit comments

Comments
 (0)