import React, { Component } from 'react'; import { connect } from 'react-redux'; import { AppState } from 'reducers'; import { getOffline } from 'selectors/config'; interface StateProps { offline: AppState['config']['offline']; } class OfflineBroadcastClass extends Component { public render() { return this.props.offline ? : null; } } export const OfflineBroadcast = connect((state: AppState) => ({ offline: getOffline(state) }))( OfflineBroadcastClass ); const BroadCast: React.SFC<{}> = () => (

To broadcast this transaction, paste the above into{' '} myetherwallet.com/pushTx or{' '} etherscan.io/pushTx

);