File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
client/modules/User/components Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ async function asyncValidate(fieldToValidate, value) {
38
38
}
39
39
}
40
40
41
- // Debounced Validators
42
41
const debouncedAsyncValidate = debounce ( asyncValidate , 300 ) ;
43
42
44
43
function validateUsername ( username ) {
@@ -97,7 +96,9 @@ function SignupForm() {
97
96
{ ...input }
98
97
/>
99
98
{ meta . touched && meta . error && (
100
- < span className = "form-error" aria-live = "polite" > { meta . error } </ span >
99
+ < span className = "form-error" aria-live = "polite" >
100
+ { meta . error }
101
+ </ span >
101
102
) }
102
103
</ div >
103
104
) }
@@ -119,7 +120,9 @@ function SignupForm() {
119
120
{ ...input }
120
121
/>
121
122
{ meta . touched && meta . error && (
122
- < span className = "form-error" aria-live = "polite" > { meta . error } </ span >
123
+ < span className = "form-error" aria-live = "polite" >
124
+ { meta . error }
125
+ </ span >
123
126
) }
124
127
</ div >
125
128
) }
@@ -155,7 +158,9 @@ function SignupForm() {
155
158
</ button >
156
159
</ div >
157
160
{ meta . touched && meta . error && (
158
- < span className = "form-error" aria-live = "polite" > { meta . error } </ span >
161
+ < span className = "form-error" aria-live = "polite" >
162
+ { meta . error }
163
+ </ span >
159
164
) }
160
165
</ div >
161
166
) }
@@ -190,7 +195,9 @@ function SignupForm() {
190
195
</ button >
191
196
</ div >
192
197
{ meta . touched && meta . error && (
193
- < span className = "form-error" aria-live = "polite" > { meta . error } </ span >
198
+ < span className = "form-error" aria-live = "polite" >
199
+ { meta . error }
200
+ </ span >
194
201
) }
195
202
</ div >
196
203
) }
You can’t perform that action at this time.
0 commit comments