Skip to content

Commit

Permalink
Merge pull request #136 from eduversa/ankur
Browse files Browse the repository at this point in the history
fix: Ensure loading state is reset after authentication response in L…
  • Loading branch information
ankurhalder authored Nov 10, 2024
2 parents dbbd308 + 5605b14 commit 6f90f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Login() {

devLog("Auth platform response:", response);
showAlert(response.message);

setLoading(false);
if (!response.status) {
return;
}
Expand Down

0 comments on commit 6f90f5f

Please sign in to comment.