Commit c28f4674 authored by Tim Reynolds's avatar Tim Reynolds Committed by Tim Neutkens

Remove with-styled-components Auto Prerendering warning (#7871)

parent 8c5209ef
...@@ -9,16 +9,6 @@ const theme = { ...@@ -9,16 +9,6 @@ const theme = {
} }
export default class MyApp extends App { export default class MyApp extends App {
static async getInitialProps ({ Component, ctx }) {
let pageProps = {}
if (Component.getInitialProps) {
pageProps = await Component.getInitialProps(ctx)
}
return { pageProps }
}
render () { render () {
const { Component, pageProps } = this.props const { Component, pageProps } = this.props
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment