fe4c38984a
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
14 lines
288 B
JavaScript
14 lines
288 B
JavaScript
import React from 'react'
|
|
import bugsnagClient from '../lib/bugsnag'
|
|
import FourOhFour from './404'
|
|
|
|
export default class Page extends React.Component {
|
|
static async getInitialProps(ctx) {
|
|
if (ctx.err) bugsnagClient.notify(ctx.err)
|
|
}
|
|
|
|
render() {
|
|
return <FourOhFour />
|
|
}
|
|
}
|