then dispatch the data to the redux store.
                  
                  
                  this is the action creator function that I used, and how ever it works but I will get this Error (Cannot read property 'Page' of undefined)
                  
                  
                  
                  
                  
                  what is wrong?:(
                  
                  
                  
                  
                  
                  export const AnimeData = (data) => async (dispatch) => {
                  
                  
                        const animData = await data;
                  
                  
                        dispatch(animeListSlice.actions.setDataAtFirst(animData.Page.media))
                  
                  
                  }
                  
                  
                
anyone?:(
what does await data do :/
Обсуждают сегодня