Display appropriate error page
Closed this issue · 1 comments
Ankur-Datta-4 commented
Amongst:
- User: not found
- Blog: not found
- Bad request pages
Ankur-Datta-4 commented
Apparently isError in useSWR returns the axios/fetcher error. So, built an error-component which displays error appropriately by receiving isError as props