Louvivien/tradingapp

Error Handling

Opened this issue · 0 comments

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