From 446c0e092f1c725a4afc6933ad5d8c8dece08437 Mon Sep 17 00:00:00 2001 From: Alex Kern Date: Fri, 8 May 2015 20:17:25 -0700 Subject: [PATCH] Clean up the error pages. --- lib/components/ErrorPage.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/components/ErrorPage.js b/lib/components/ErrorPage.js index 7037427..dfdadf3 100644 --- a/lib/components/ErrorPage.js +++ b/lib/components/ErrorPage.js @@ -1,5 +1,7 @@ +import Centered from './Centered' import ErrorStore from '../stores/ErrorStore' import React from 'react' +import Spinner from './Spinner' export default class ErrorPage extends React.Component { @@ -20,15 +22,18 @@ export default class ErrorPage extends React.Component { } render() { - return
-

{this.state.status}

-

{this.state.message}

+ return + + + +

FilePizza - {this.state.status}

+

{this.state.message}

{this.state.stack ?
{this.state.stack}
: null} -
+ } }