diff --git a/app/gabsocial/features/auth_login/index.js b/app/gabsocial/features/auth_login/index.js
index 6a846b2ce..705c42bc6 100644
--- a/app/gabsocial/features/auth_login/index.js
+++ b/app/gabsocial/features/auth_login/index.js
@@ -2,15 +2,11 @@ import React from 'react';
import { connect } from 'react-redux'
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 { Link } from 'react-router-dom';
-const mapStateToProps = (state, props) => ({
- me: state.get('me'),
-});
-
+export default @connect()
class LoginForm extends ImmutablePureComponent {
-
constructor(props) {
super(props);
this.state = {isLoading: false};
@@ -40,19 +36,23 @@ class LoginForm extends ImmutablePureComponent {
}
render() {
- const { me } = this.props;
- if (me) return