1
0
Fork 0
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:
Dima 2019-01-02 23:39:38 +03:00 committed by Tim Neutkens
parent c51ac8e8dc
commit e3499553c4

View file

@ -5,7 +5,7 @@ import App, { Container } from 'next/app'
import { initializeStore } from '../stores/store'
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
// we can initialize our store