Error Handling
Opened this issue · 0 comments
LuccaGugescu commented
add a directory and all the necessary classes to handle, the errors from backend or handle the form check(password length, userName...)
use toast.error(error) to call the toast which makes the code more readable and ui better.
check: https://www.npmjs.com/package/react-toastify?ref=pkgstats.com