front/src/routes/login/index.js
import { Component } from 'preact';
import { connect } from 'unistore/preact';
import actions from '../../actions/login/login';
import LoginPage from './LoginPage';
class Login extends Component {
componentWillMount() {
this.props.checkIfInstanceIsConfigured();
}
render({}, {}) {
return <LoginPage />;
}
}
export default connect('', actions)(Login);