Update auth.js

This commit is contained in:
Andrean
2023-05-08 16:45:16 +00:00
committed by GitHub
parent 2f01741f32
commit 789bd37c7a
-4
View File
@@ -63,10 +63,6 @@ export const login = (email, password) => async (dispatch) => {
try { try {
const res = await api.post("/auth", body); const res = await api.post("/auth", body);
<<<<<<< HEAD
console.log(res)
=======
>>>>>>> cc38df43629d64ca77f694c971a13a026b3afcfb
dispatch({ dispatch({
type: LOGIN_SUCCESS, type: LOGIN_SUCCESS,
payload: res.data, payload: res.data,