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

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