diff --git a/app/gabsocial/features/auth_login/index.js b/app/gabsocial/features/auth_login/components/login_form.js similarity index 100% rename from app/gabsocial/features/auth_login/index.js rename to app/gabsocial/features/auth_login/components/login_form.js diff --git a/app/gabsocial/features/auth_login/components/login_page.js b/app/gabsocial/features/auth_login/components/login_page.js new file mode 100644 index 000000000..da5758b7e --- /dev/null +++ b/app/gabsocial/features/auth_login/components/login_page.js @@ -0,0 +1,11 @@ +import React from 'react'; +import { connect } from 'react-redux' +import ImmutablePureComponent from 'react-immutable-pure-component'; +import LoginForm from './login_form'; + +export default @connect() +class LoginPage extends ImmutablePureComponent { + render() { + return + } +} diff --git a/app/gabsocial/features/landing_page/index.js b/app/gabsocial/features/landing_page/index.js index ef89f32e7..00d39d54c 100644 --- a/app/gabsocial/features/landing_page/index.js +++ b/app/gabsocial/features/landing_page/index.js @@ -2,7 +2,7 @@ import React from 'react'; import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component'; import { Link } from 'react-router-dom'; -import LoginForm from 'gabsocial/features/auth_login'; +import LoginForm from 'gabsocial/features/auth_login/components/login_form'; import NotificationsContainer from 'gabsocial/features/ui/containers/notifications_container'; const mapStateToProps = (state, props) => ({ diff --git a/app/gabsocial/features/ui/index.js b/app/gabsocial/features/ui/index.js index 616573862..c9171f313 100644 --- a/app/gabsocial/features/ui/index.js +++ b/app/gabsocial/features/ui/index.js @@ -65,7 +65,7 @@ import { GroupRemovedAccounts, GroupCreate, GroupEdit, - LoginForm, + LoginPage, } from './util/async-components'; import { meUsername } from '../../initial_state'; import { previewState as previewMediaState } from './components/media_modal'; @@ -190,7 +190,7 @@ class SwitchingColumnsArea extends React.PureComponent { return ( {/* */} - + {/* */} diff --git a/app/gabsocial/features/ui/util/async-components.js b/app/gabsocial/features/ui/util/async-components.js index 38b5ea6bb..41751f849 100644 --- a/app/gabsocial/features/ui/util/async-components.js +++ b/app/gabsocial/features/ui/util/async-components.js @@ -158,6 +158,6 @@ export function Explore () { return import(/* webpackChunkName: "features/explore" */'../../explore'); } -export function LoginForm () { - return import(/* webpackChunkName: "features/auth_login" */'../../auth_login'); +export function LoginPage () { + return import(/* webpackChunkName: "features/auth_login" */'../../auth_login/components/login_page'); }