Update auth.js
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user