Remove accidental LoadingBar code

merge-requests/1/head
Alex Gleason 5 years ago
parent 42e584ca72
commit a7975f10fa
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -4,7 +4,6 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
import { createAuthApp, logIn } from 'gabsocial/actions/auth'; import { createAuthApp, logIn } from 'gabsocial/actions/auth';
import { Redirect } from 'react-router-dom'; import { Redirect } from 'react-router-dom';
import { fetchMe } from 'gabsocial/actions/me'; import { fetchMe } from 'gabsocial/actions/me';
import { LoadingBar } from 'react-redux-loading-bar';
const mapStateToProps = (state, props) => ({ const mapStateToProps = (state, props) => ({
me: state.get('me'), me: state.get('me'),
@ -46,7 +45,6 @@ class LoginForm extends ImmutablePureComponent {
return ( return (
<form onSubmit={this.handleSubmit}> <form onSubmit={this.handleSubmit}>
<LoadingBar loading={this.state.isLoading ? 1 : 0} className='loading-bar' />
<fieldset disabled={this.state.isLoading}> <fieldset disabled={this.state.isLoading}>
<input name='username' placeholder='me@example.com' /> <input name='username' placeholder='me@example.com' />
<input name='password' type='password' placeholder='Password' /> <input name='password' type='password' placeholder='Password' />

Loading…
Cancel
Save