Run format and update snapshots

This commit is contained in:
Mikko Koski 2017-03-24 17:46:27 +02:00
parent 1ef15243f3
commit fd23d20ef2
5 changed files with 42 additions and 51 deletions

View file

@ -3,8 +3,8 @@ import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import { withRouter } from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
import { Topbar } from '../../containers';
import classNames from 'classnames';
import { Topbar } from '../../containers';
import css from './PageLayout.css';

View file

@ -2,7 +2,7 @@ import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { Redirect } from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
import { PageLayout, NamedLink, NamedRedirect } from '../../components';
import { PageLayout, NamedRedirect } from '../../components';
import { LoginForm, SignUpForm } from '../../containers';
import { login } from '../../ducks/Auth.duck';

View file

@ -12,17 +12,6 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
</p>
<ReduxForm
onSubmit={[Function]} />
<withFlattenedRoutes(withRouter(NamedLink))
name="LogInPage"
to={
Object {
"state": Object {
"from": "/protected",
},
}
}>
Log in
</withFlattenedRoutes(withRouter(NamedLink))>
</div>
</Connect(withRouter(PageLayout))>
`;

View file

@ -1,44 +1,47 @@
exports[`LoginForm matches snapshot 1`] = `
<form
className={undefined}
onSubmit={[Function]}>
<div
className={undefined}>
<div>
<label
className={undefined}
htmlFor="email">
Email
</label>
<input
className=""
name="email"
onBlur={[Function]}
onChange={[Function]}
onDragStart={[Function]}
onDrop={[Function]}
onFocus={[Function]}
type="email"
value="" />
<div>
<div
className={undefined}>
<div>
<label
className={undefined}
htmlFor="email">
Email
</label>
<input
className=""
name="email"
onBlur={[Function]}
onChange={[Function]}
onDragStart={[Function]}
onDrop={[Function]}
onFocus={[Function]}
type="email"
value="" />
</div>
</div>
</div>
<div
className={undefined}>
<div>
<label
className={undefined}
htmlFor="password">
Password
</label>
<input
className=""
name="password"
onBlur={[Function]}
onChange={[Function]}
onDragStart={[Function]}
onDrop={[Function]}
onFocus={[Function]}
type="password"
value="" />
<div
className={undefined}>
<div>
<label
className={undefined}
htmlFor="password">
Password
</label>
<input
className=""
name="password"
onBlur={[Function]}
onChange={[Function]}
onDragStart={[Function]}
onDrop={[Function]}
onFocus={[Function]}
type="password"
value="" />
</div>
</div>
</div>
<button

View file

@ -1,4 +1,3 @@
// **************************************************************************
//
// D E A D