Nice and simple.
Adel Grimm
11
In the initial state of the login component, i.e. before the users attempts to login, badLogin should be set to something falsy. You could initialize it to “false” instead of “null”, it doesn’t really matter. I chose “null” because it seemed good enough.