TypeError: postData.map is not a function

Hi, need help for this error : TypeError: postData.map is not a function
i try map my :const postData = useSelector((store) => store.postReducer);

Usually, that error means postData isn’t an array.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.