Closed syedsimanta03 closed 3 years ago
From where we get getState on some actions
export const getUserDetails = (id) => async (dispatch, getState) => {
https://github.com/bradtraversy/proshop_mern/blob/master/frontend/src/actions/userActions.js
where it lives ?
it sets by redux-thunk middleware. please ask questions on Udemy Q/A and only create issues for bugs in this repo.
From where we get getState on some actions
export const getUserDetails = (id) => async (dispatch, getState) => {
https://github.com/bradtraversy/proshop_mern/blob/master/frontend/src/actions/userActions.js
where it lives ?