import React from 'react'; import styles from './styles.css'; import translations from '../translations'; import Button from 'coral-ui/components/Button'; import I18n from 'coral-framework/modules/i18n/i18n'; const lang = new I18n(translations); class ForgotContent extends React.Component { handleSubmit = (e) => { e.preventDefault(); this.props.fetchForgotPassword(this.emailInput.value); }; render() { const {changeView, auth} = this.props; const {passwordRequestSuccess, passwordRequestFailure} = auth; return (