react and react-dom version downgrade

This commit is contained in:
unknown
2025-01-08 15:19:49 +07:00
parent dc1205848e
commit 2781e9181d
3 changed files with 23 additions and 16 deletions

View File

@ -22,7 +22,7 @@ const LoginPage = () => {
// }
// document.cookie = `role=${role}`
// localStorage.setItem('authToken', username)
localStorage.setItem('authToken', username)
navigate('/');
} else {
alert("Please fill in both fields.");