DEV Community

Discussion on: Making API calls in React using Redux-Thunk

Collapse
 
muhammadawaisshaikh profile image
Muhammad Awais

You have take that error from catch block and store in your component state and do render in the Error section, also you can use the Reusable toast service to show the error from catch block, so there are multiple solutions you have to manage in terms of your need. Thanks