copy fixes

This commit is contained in:
Wyatt Johnson
2018-05-03 10:09:36 -06:00
parent 6485b1f080
commit 375f1bb6b1
3 changed files with 16 additions and 16 deletions
@@ -24,11 +24,11 @@ class AccountDeletionRequestedSign extends React.Component {
const { me: { scheduledDeletionDate } } = this.props.root;
const deletionScheduledFor = moment(scheduledDeletionDate).format(
'MMM Do YYYY, h:mm:ss a'
'MMM Do YYYY, h:mm a'
);
const deletionScheduledOn = moment(scheduledDeletionDate)
.subtract(24, 'hours')
.format('MMM Do YYYY, h:mm:ss a');
.format('MMM Do YYYY, h:mm a');
return (
<div className={styles.container}>
@@ -78,19 +78,19 @@ class DeleteMyAccount extends React.Component {
Deleting your account will permanently erase your profile and remove
all your comments from this site.
</p>
<p
className={cn(
styles.description,
'talk-plugin-auth--delete-my-account-description'
)}
>
{scheduledDeletionDate &&
`You have already submitted a request to delete your account.
Your account will be deleted on ${moment(
scheduledDeletionDate
).format('MMM Do YYYY, h:mm:ss a')}. You may
cancel the request until that time`}
</p>
{scheduledDeletionDate && (
<p
className={cn(
styles.description,
'talk-plugin-auth--delete-my-account-description'
)}
>
You have already submitted a request to delete your account. Your
account will be deleted on{' '}
{moment(scheduledDeletionDate).format('MMM Do YYYY, h:mm a')}. You
may cancel the request until that time.
</p>
)}
{scheduledDeletionDate ? (
<Button
className={cn(styles.button, styles.secondary)}
@@ -19,7 +19,7 @@ const DeleteMyAccountFinalStep = props => (
<strong className={styles.block}>
<Icon name="access_time" className={styles.timeIcon} />
<span>
{moment(props.scheduledDeletionDate).format('MMM Do YYYY, h:mm:ss a')}
{moment(props.scheduledDeletionDate).format('MMM Do YYYY, h:mm a')}
</span>
</strong>
</div>