We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbbcdbb commit b64c416Copy full SHA for b64c416
1 file changed
LocalMind-Frontend/src/shared/component/v1/LoginPage.tsx
@@ -76,8 +76,9 @@ const LoginPage: React.FC = () => {
76
}
77
setIsLoading(true)
78
79
- try {
80
- const response = await apiService.login(email, password)
+ const handleLogin = async () => {
+ try {
81
+ const response = await apiService.login(email, password)
82
83
if (!response.success) {
84
throw new Error(response.message || 'Login failed. Please try again.')
0 commit comments