We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem is in this file ~/Desktop/Ex_Files_Learning_Redux/Ex_Files_Learning_Redux/Exercise Files/Ch04/04_03/finished/src/actions.js line 50
~/Desktop/Ex_Files_Learning_Redux/Ex_Files_Learning_Redux/Exercise Files/Ch04/04_03/finished/src/actions.js
line 50
Here is the bug
export const randomGoals = () = (dispatch, getState) => { if (!getState.resortNames.fetching) { dispatch({ type: C.FETCH_RESORT_NAMES }) setTimeout(() => { dispatch({ type: C.CANCEL_FETCHING }) }, 1500) } }
THis works instead
export const randomGoals = () => (dispatch, getState) => { if (!getState.resortNames.fetching) { dispatch({ type: C.FETCH_RESORT_NAMES }) setTimeout(() => { dispatch({ type: C.CANCEL_FETCHING }) }, 1500) } }
Just a typo. But might help others Thanks
The text was updated successfully, but these errors were encountered:
Nice catch! Want to send a pull request?
Sorry, something went wrong.
No branches or pull requests
The problem is in this file
~/Desktop/Ex_Files_Learning_Redux/Ex_Files_Learning_Redux/Exercise Files/Ch04/04_03/finished/src/actions.js
line 50
Here is the bug
export const randomGoals = () = (dispatch, getState) => { if (!getState.resortNames.fetching) { dispatch({ type: C.FETCH_RESORT_NAMES }) setTimeout(() => { dispatch({ type: C.CANCEL_FETCHING }) }, 1500) } }
THis works instead
export const randomGoals = () => (dispatch, getState) => { if (!getState.resortNames.fetching) { dispatch({ type: C.FETCH_RESORT_NAMES }) setTimeout(() => { dispatch({ type: C.CANCEL_FETCHING }) }, 1500) } }
Just a typo.
But might help others
Thanks
The text was updated successfully, but these errors were encountered: