import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import Button from '../../../components/ui/button' import { DEFAULT_ROUTE } from '../../../helpers/constants/routes' export default class EndOfFlowScreen extends PureComponent { static contextTypes = { t: PropTypes.func, metricsEvent: PropTypes.func, } static propTypes = { history: PropTypes.object, completeOnboarding: PropTypes.func, completionMetaMetricsName: PropTypes.string, } render () { const { t } = this.context const { history, completeOnboarding, completionMetaMetricsName } = this.props return (