import React from 'react'; import { connect } from "react-redux"; import { Link } from "react-router-dom"; import { postCheckInSubmit } from "../../actions/registration"; import './registration-page.scss'; import RegistrationForm from '../../components/registration-form/RegistrationForm'; export class Login extends React.Component { render() { return (

You have an account? Login now

) } } const mapStateToProps = state => { return { user: state.registration.user }; }; export default connect( mapStateToProps, { postCheckInSubmit } )(Login);