Remove accidental LoadingBar code
This commit is contained in:
parent
42e584ca72
commit
a7975f10fa
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
|
|||
import { createAuthApp, logIn } from 'gabsocial/actions/auth';
|
||||
import { Redirect } from 'react-router-dom';
|
||||
import { fetchMe } from 'gabsocial/actions/me';
|
||||
import { LoadingBar } from 'react-redux-loading-bar';
|
||||
|
||||
const mapStateToProps = (state, props) => ({
|
||||
me: state.get('me'),
|
||||
|
@ -46,7 +45,6 @@ class LoginForm extends ImmutablePureComponent {
|
|||
|
||||
return (
|
||||
<form onSubmit={this.handleSubmit}>
|
||||
<LoadingBar loading={this.state.isLoading ? 1 : 0} className='loading-bar' />
|
||||
<fieldset disabled={this.state.isLoading}>
|
||||
<input name='username' placeholder='me@example.com' />
|
||||
<input name='password' type='password' placeholder='Password' />
|
||||
|
|
Loading…
Reference in a new issue