import React from 'react'; import PropTypes from 'prop-types'; import cn from 'classnames'; import { Button, Icon } from 'plugin-api/beta/client/components/ui'; import styles from './AccountDeletionRequestedSign.css'; import { getErrorMessages } from 'coral-framework/utils'; class AccountDeletionRequestedSign extends React.Component { cancelAccountDeletion = async () => { const { cancelAccountDeletion, notify } = this.props; try { await cancelAccountDeletion(); notify( 'success', 'Account Deletion Request Cancelled - Your request to delete your account has been cancelled. You may now write comments, reply to comments, and select reactions.' ); } catch (err) { notify('error', getErrorMessages(err)); } }; render() { return (
A request to delete your account was received on.
If you would like to continue leaving comments, replies or reactions, you may cancel your request to delete your account below before