diff --git a/client/src/views/login/LoginScreen.js b/client/src/views/login/LoginScreen.js index 9c26fef..11d351a 100644 --- a/client/src/views/login/LoginScreen.js +++ b/client/src/views/login/LoginScreen.js @@ -7,72 +7,78 @@ import LockIcon from '@material-ui/icons/Lock'; import EmailIcon from '@material-ui/icons/Email'; const Login = ({ handleLogin }) => { - const [user, setUser] = useState({ email: '', password: '' }); + const [user, setUser] = useState({ email: '', password: '' }); - const submitForm = (e) => { - e.preventDefault(); - handleLogin(user); - }; + const submitForm = (e) => { + e.preventDefault(); + handleLogin(user); + }; - return ( - -
-
-
- -

Blockwatch

-

Building safe communities

+ return ( + +
+
+ + +

blockwatch

+

+ Building safe communities +

- - - - ), - }} - onChange={(e) => { - setUser({ ...user, email: e.target.value }); - }} - /> + + + + ), + }} + onChange={(e) => { + setUser({ ...user, email: e.target.value }); + }} + /> - - - - ), - }} - onChange={(e) => - setUser({ - ...user, - password: e.target.value, - }) - } - /> - + + + + ), + }} + onChange={(e) => + setUser({ + ...user, + password: e.target.value, + }) + } + /> + - Sign Up here - -
-
-
- ); + Sign Up here + +
+
+
+ ); }; export default Login;