yearn / yPartners

Partners website
https://partners.yearn.farm
GNU General Public License v3.0
6 stars 5 forks source link

refactor: Add error message in Login validation #137

Closed Itzabelli closed 1 year ago

Itzabelli commented 1 year ago

Description

Include the error message with the help of the yToast component of Web-lib, when an invalid partner address is added in the login.

Motivation and Context

Show an alert message to the user when the address provided in the login is not matching the approved addresses.

How Has This Been Tested?

After making the changes I ran yarn dev and confirmed that everything appeared as expected