import React, {Component, PropTypes} from 'react'; import Link from '../../components/base/Link'; import {getModal} from '../modals/index'; import SettingsModal from '../modals/SettingsModal'; class ResponseError extends Component { render () { const {error} = this.props; let msg = null; if (error && error.toLowerCase().indexOf('certificate') !== -1) { msg = ( ) } else if (error && error.toLowerCase().indexOf('getaddrinfo') !== -1) { msg = ( ) } else { msg = ( View the Docs ) } return (
{error}

That error looks strange. Maybe this will help.

{msg}    Contact Support
); } } ResponseError.propTypes = { error: PropTypes.string.isRequired, url: PropTypes.string.isRequired }; export default ResponseError;