Using async and await with export const

Posted by Andre Scott | Updated on

Using async and await with export const. return dispatch => {...} needs to also be async I believe. Right now, only the top level function is async, not the nested one.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers