diff --git a/examples/with-sentry-simple/pages/_app.js b/examples/with-sentry-simple/pages/_app.js index ff8334dc27107..d28a071361254 100644 --- a/examples/with-sentry-simple/pages/_app.js +++ b/examples/with-sentry-simple/pages/_app.js @@ -7,16 +7,6 @@ Sentry.init({ }) class MyApp extends App { - static async getInitialProps ({ Component, ctx }) { - let pageProps = {} - - if (Component.getInitialProps) { - pageProps = await Component.getInitialProps(ctx) - } - - return { pageProps } - } - componentDidCatch (error, errorInfo) { Sentry.withScope(scope => { Object.keys(errorInfo).forEach(key => {