import React, { useContext } from 'react'; import PropTypes from 'prop-types'; import Box from '../../../components/ui/box'; import { I18nContext } from '../../../contexts/i18n'; import { getURLHostName } from '../../../helpers/utils/util'; import { MetaMetricsContext } from '../../../contexts/metametrics'; import { EVENT } from '../../../../shared/constants/metametrics'; export default function ViewOnBlockExplorer({ blockExplorerUrl, sensitiveTrackingProperties, }) { const t = useContext(I18nContext); const trackEvent = useContext(MetaMetricsContext); const blockExplorerHostName = getURLHostName(blockExplorerUrl); return ( ); } ViewOnBlockExplorer.propTypes = { blockExplorerUrl: PropTypes.string.isRequired, sensitiveTrackingProperties: PropTypes.object.isRequired, };