Skip to content

Commit

Permalink
merge-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
vickkie committed Apr 17, 2024
1 parent 77a8548 commit 9598ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/main/components/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const Login = () => {

const userCredential = await signInWithEmailAndPassword(auth, email, password);
setMessage({ text: 'Login Success. Welcome uzi !', type: 'success' });
// setEmail('');
// setPassword('');
setEmail('');
setPassword('');
setCurrentUser(userCredential.user);
navigate('/dashboard');

Expand Down

0 comments on commit 9598ce0

Please sign in to comment.