This repository has been archived by the owner on May 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(component): display error message for LoginForm after HTTP request
## what - set component state property 'authError' to empty string in constructor - set component state property 'authError' to empty string when calling 'handleSubmit' - set component state property 'authError' to empty string when calling 'handleSubmit' and has finished HTTP request - set component state property 'authError' to error message when calling 'handleSubmit' and has finished HTTP request and there's an error - display error message if there's any ## how ## why ## where ## usage
- Loading branch information
1 parent
31eefad
commit 0e9e89c
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters