79689037

Date: 2025-07-03 14:46:56
Score: 1.5
Natty:
Report link

I managed to use the AxiosError message inside data like this:

(err: AxiosError) => {
      const error = Object.values(err.response?.data!);
      toast.error(error[0]);
    },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ssrj