Skip to content

Commit

Permalink
Update Login.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragnegi000 authored Jun 9, 2024
1 parent d7a97b5 commit d8a5389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Login() {
setLoading(true);

const apiUrl = formData.accountType === "User"
? "http://localhost:3000/api/v1/studentLogin"
? `${process.env.REACT_APP_BASE_URL}/studentLogin`
: `${process.env.REACT_APP_BASE_URL}/canteenLogin`;

try {
Expand Down

0 comments on commit d8a5389

Please sign in to comment.