diff --git a/packages/frontend/src/components/accounts/RecoverWithLink.js b/packages/frontend/src/components/accounts/RecoverWithLink.js index 261505ac5f..0eeabe69db 100644 --- a/packages/frontend/src/components/accounts/RecoverWithLink.js +++ b/packages/frontend/src/components/accounts/RecoverWithLink.js @@ -20,10 +20,12 @@ import isMobile from '../../utils/isMobile'; import Button from '../common/Button'; import FormButton from '../common/FormButton'; import { Snackbar, snackbarDuration } from '../common/Snackbar'; +import Container from '../common/styled/Container.css'; -const Container = styled.div` + +const StyledContainer = styled.div` margin-top: 5px; @media (min-width: 768px) { @@ -185,9 +187,10 @@ class RecoverWithLink extends Component { if (successView) { return ( - + + {({ translate }) => ( - + {translate('recoverWithLink.title')} {translate('recoverWithLink.pOne')} {accountId} {translate('recoverWithLink.pTwo')} @@ -211,13 +214,15 @@ class RecoverWithLink extends Component { show={successSnackbar} onHide={() => this.setState({ successSnackbar: false })} /> - + )} + ); } else { return ( - + + {({ translate }) => ( {translate('recoverWithLink.errorTitle')} @@ -233,6 +238,7 @@ class RecoverWithLink extends Component { )} + ); } }