File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,9 @@ export default function SignUp() {
6464 password : {
6565 isLongEnough : password . length >= 8 ,
6666 hasNumber : / [ 0 - 9 ] / . test ( password ) ,
67- hasSpecial : / [ ! @ # $ % ^ & * ( ) ] / . test ( password ) ,
6867 isValid :
6968 password . length === 0 ||
70- ( password . length >= 8 &&
71- / [ 0 - 9 ] / . test ( password ) &&
72- / [ ! @ # $ % ^ & * ( ) ] / . test ( password ) ) ,
69+ ( password . length >= 8 && / [ 0 - 9 ] / . test ( password ) ) ,
7370 } ,
7471 isPasswordMatch : password === confirmPassword ,
7572 } ;
@@ -204,11 +201,6 @@ export default function SignUp() {
204201 >
205202 { validations . password . hasNumber ? 'β' : 'β' } μ«μ ν¬ν¨
206203 </ li >
207- < li
208- className = { `text-xs flex items-center ${ validations . password . hasSpecial ? 'text-green-600' : 'text-gray-400' } ` }
209- >
210- { validations . password . hasSpecial ? 'β' : 'β' } νΉμλ¬Έμ ν¬ν¨
211- </ li >
212204 </ ul >
213205 ) }
214206 </ div >
You canβt perform that action at this time.
0 commit comments