import React from 'react'; import PropTypes from 'prop-types'; import { Grid, Alert, Button } from 'react-bootstrap'; import { t, Trans, translate, Interpolate } from 'react-i18next'; const handleResendVerificationEmail = (emailAddress, t) => { Meteor.call('users.sendVerificationEmail', (error) => { if (error) { Bert.alert(error.reason, 'danger'); } else { Bert.alert(t("checkVerificationEmail", {email: emailAddress}), 'success'); } }); }; const ReSendEmail = props => (