mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-26 16:52:06 +05:30
Fix defaultMessages for the AccountDeleted component
This commit is contained in:
parent
c0b3e328b6
commit
55d767b65c
@ -13,7 +13,7 @@ interface Props {
|
|||||||
const AccountDeleted: ComponentType<Props> = ({ onRestore }) => {
|
const AccountDeleted: ComponentType<Props> = ({ onRestore }) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrapper}>
|
<div className={styles.wrapper}>
|
||||||
<Message key="accountDeleted" defaultMessage="Account deleted">
|
<Message key="accountDeleted" defaultMessage="Account is deleted">
|
||||||
{(pageTitle: string) => (
|
{(pageTitle: string) => (
|
||||||
<h2 className={styles.title}>
|
<h2 className={styles.title}>
|
||||||
<Helmet title={pageTitle} />
|
<Helmet title={pageTitle} />
|
||||||
@ -25,15 +25,13 @@ const AccountDeleted: ComponentType<Props> = ({ onRestore }) => {
|
|||||||
<div className={styles.description}>
|
<div className={styles.description}>
|
||||||
<Message
|
<Message
|
||||||
key="accountDeletedDescription"
|
key="accountDeletedDescription"
|
||||||
// TODO: verify translation
|
defaultMessage="The account has been marked for deletion and will be permanently removed within a week. Until then, all account activities have been suspended."
|
||||||
defaultMessage="The account has been marked for deletion and will be permanently removed within a week. Until then, all activity on the account has been suspended."
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.description}>
|
<div className={styles.description}>
|
||||||
<Message
|
<Message
|
||||||
key="ifYouWantToRestoreAccount"
|
key="ifYouWantToRestoreAccount"
|
||||||
// TODO: verify translation
|
|
||||||
defaultMessage="If you want to restore your account, click on the button below."
|
defaultMessage="If you want to restore your account, click on the button below."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user