[Solved] Async Functions
The reason your code doesn’t work is that you never call the async function you’ve created. However, there isn’t any reason to make an inner async function; just make the one you already have async: export const setSearchField = text => async (dispatch) => { dispatch({ type: REQUEST_GIFS_PENDING }); try { const response = await … Read more