import React from 'react'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { TextInput } from 'gabsocial/features/forms'; const mapStateToProps = (state, props) => ({ instance: state.get('instance'), }); export default @connect(mapStateToProps) class RegistrationForm extends ImmutablePureComponent { static propTypes = { instance: ImmutablePropTypes.map, } render() { const { instance } = this.props; return (