mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Run format and update snapshots
This commit is contained in:
parent
1ef15243f3
commit
fd23d20ef2
5 changed files with 42 additions and 51 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
|
|
@ -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))>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
// **************************************************************************
|
||||
//
|
||||
// D E A D
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue