- {loginSuccess ? (
-
-
- Hello {username}!
-
-
- Your account was created on {new Date(createdAt).toLocaleDateString()}.
-
-
- ) : (
+
Login
@@ -72,9 +65,20 @@ const Login = () => {
setError('')} message={`Error: ${error}`} />
)}
- )}
);
};
export default Login;
+
+
+// (
+//