text: /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
  
  import React, { PropTypes, Component } from 'react';
  import styles from './ErrorPage.scss';
  import withStyles from '../../../common/decorators/withStyles';
  
  class ErrorPage extends Component {
  
    static contextTypes = {
      onSetTitle: PropTypes.func.isRequired,
      onPageNotFound: PropTypes.func.isRequired
    };
  
    render() {
      let title = 'Error';
      this.context.onSetTitle(title);
      return (
        <div>
          <h1>{title}</h1>
          <p>Sorry, an critical error occurred on this page.</p>
        </div>
      );
    }
  
  }
  
  export default ErrorPage;
  