mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
unnecessary prop store in getInitialProps (#5983)
This commit is contained in:
parent
c51ac8e8dc
commit
e3499553c4
|
@ -5,7 +5,7 @@ import App, { Container } from 'next/app'
|
||||||
import { initializeStore } from '../stores/store'
|
import { initializeStore } from '../stores/store'
|
||||||
|
|
||||||
export default class MyApp extends App {
|
export default class MyApp extends App {
|
||||||
static async getInitialProps ({ Component, router, ctx }) {
|
static async getInitialProps ({ Component, ctx }) {
|
||||||
//
|
//
|
||||||
// Use getInitialProps as a step in the lifecycle when
|
// Use getInitialProps as a step in the lifecycle when
|
||||||
// we can initialize our store
|
// we can initialize our store
|
||||||
|
|
Loading…
Reference in a new issue