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) {
3838 }
3939}
4040
41- // Debounced Validators
4241const debouncedAsyncValidate = debounce ( asyncValidate , 300 ) ;
4342
4443function validateUsername ( username ) {
@@ -97,7 +96,9 @@ function SignupForm() {
9796 { ...input }
9897 />
9998 { 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 >
101102 ) }
102103 </ div >
103104 ) }
@@ -119,7 +120,9 @@ function SignupForm() {
119120 { ...input }
120121 />
121122 { 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 >
123126 ) }
124127 </ div >
125128 ) }
@@ -155,7 +158,9 @@ function SignupForm() {
155158 </ button >
156159 </ div >
157160 { 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 >
159164 ) }
160165 </ div >
161166 ) }
@@ -190,7 +195,9 @@ function SignupForm() {
190195 </ button >
191196 </ div >
192197 { 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 >
194201 ) }
195202 </ div >
196203 ) }
You can’t perform that action at this time.
0 commit comments