diff --git a/components/error-boundary.js b/components/error-boundary.js index 82ebf626..2f5bac16 100644 --- a/components/error-boundary.js +++ b/components/error-boundary.js @@ -44,7 +44,7 @@ class ErrorBoundary extends Component { const errorDetails = this.getErrorDetails() return ( - +

something went wrong

{this.state.error && }
diff --git a/pages/_error.js b/pages/_error.js index 02d52c23..0a10ae77 100644 --- a/pages/_error.js +++ b/pages/_error.js @@ -48,18 +48,18 @@ const statusDescribe = { function ErrorImage ({ statusCode }) { if (statusCode === 404) { - return + return } if (statusCode >= 500) { - return + return } if (statusCode >= 400) { - return + return } if (statusCode >= 300) { - return + return } - return + return } export default function Error ({ statusCode }) { diff --git a/pages/auth/error.js b/pages/auth/error.js index 5df283bf..258bb48a 100644 --- a/pages/auth/error.js +++ b/pages/auth/error.js @@ -18,14 +18,14 @@ export default function AuthError ({ error }) { if (error === 'AccessDenied') { return ( - +

ACCESS DENIED

) } else if (error === 'Verification') { return ( - +

Incorrect magic code