Zelyanoth commited on
Commit
cbb2dc2
·
1 Parent(s): e369308
Files changed (1) hide show
  1. frontend/src/pages/Login.jsx +1 -5
frontend/src/pages/Login.jsx CHANGED
@@ -147,11 +147,7 @@ const Login = () => {
147
  <path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clipRule="evenodd" />
148
  </svg>
149
  <span className="text-red-700 text-xs sm:text-sm font-medium">
150
- {error.includes('Password/email Incorrect')
151
- ? 'Password/email Incorrect'
152
- : error.includes('Check your mail to confirm your account')
153
- ? 'Check your mail to confirm your account'
154
- : error}
155
  </span>
156
  </div>
157
  </div>
 
147
  <path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clipRule="evenodd" />
148
  </svg>
149
  <span className="text-red-700 text-xs sm:text-sm font-medium">
150
+ {error}
 
 
 
 
151
  </span>
152
  </div>
153
  </div>