Page login: modification titre

This commit is contained in:
wpetit 2020-02-19 12:24:34 +01:00
parent 3aa8ab987b
commit 7d57d51f07
1 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,7 @@ export function LoginPage({ dispatch, isLoggedIn, history }) {
const [ formData, setFormData ] = useState({username: '', password: ''});
const onUsernameChange = evt => setFormData({ ...formData, username: evt.target.value });
const onPasswordChange = evt => setFormData({ ...formData, password: evt.target.value });
const onSubmit = evt => {
evt.preventDefault();
const { username, password } = formData;
@ -18,9 +19,8 @@ export function LoginPage({ dispatch, isLoggedIn, history }) {
if (isLoggedIn) history.push('/home');
}, [isLoggedIn]);
return (
<Page>
<Page title="Login">
<div className="section">
<div className="columns">
<div className="column is-4 is-offset-4">