import React, { PureComponent } from 'react' import PropTypes from 'prop-types' export default class InfoTab extends PureComponent { state = { version: global.platform.getVersion(), } static contextTypes = { t: PropTypes.func, } renderInfoLinks () { const { t } = this.context return (
{ t('links') }
{ t('privacyMsg') }
{ t('terms') }
{ t('attributions') }

{ t('supportCenter') }
{ t('visitWebSite') }
{ t('emailUs') }
) } render () { const { t } = this.context return (
{ t('metamaskVersion') }
{ this.state.version }
{ t('builtInCalifornia') }
{ this.renderInfoLinks() }
) } }