diff --git a/src/components/modals/Receive/steps/03-step-confirm-address.js b/src/components/modals/Receive/steps/03-step-confirm-address.js index 4e496999..6457c7d0 100644 --- a/src/components/modals/Receive/steps/03-step-confirm-address.js +++ b/src/components/modals/Receive/steps/03-step-confirm-address.js @@ -1,6 +1,5 @@ // @flow -import invariant from 'invariant' import styled from 'styled-components' import React, { Fragment, PureComponent } from 'react' @@ -13,9 +12,7 @@ import TranslatedError from '../../../TranslatedError' export default class StepConfirmAddress extends PureComponent { render() { - const { t, device, account, isAddressVerified, verifyAddressError, transitionTo } = this.props - invariant(account, 'No account given') - invariant(device, 'No device given') + const { t, account, isAddressVerified, verifyAddressError, transitionTo } = this.props return ( @@ -34,7 +31,8 @@ export default class StepConfirmAddress extends PureComponent { {t('app:receive.steps.confirmAddress.action')} - {t('app:receive.steps.confirmAddress.text', { currencyName: account.currency.name })} + {account && + t('app:receive.steps.confirmAddress.text', { currencyName: account.currency.name })}