This commit is contained in:
Inshal 2024-06-01 04:51:45 +05:00
parent 22a3278447
commit dc2f0e3682

View File

@ -48,7 +48,7 @@ const login = async () => {
try {
store.dispatch('updateIsLoading', true)
isLoading.value = true
// isLoading.value = true
const response = await axios.post(ADMIN_LOGIN_API, {
email: credentials.value.email,
password: credentials.value.password,
@ -71,7 +71,7 @@ const login = async () => {
} catch (error) {
store.dispatch('updateIsLoading', false)
errors.value.email = error.response.data.error
isLoading.value = false
// isLoading.value = false
console.error(error);
}
// try {