mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix loading and rendering GraphQL data on the server in the with-apollo-and-redux
example (#4054)
This commit is contained in:
parent
7cf9199a5f
commit
603b90ce02
|
@ -50,6 +50,6 @@ const mapDispatchToProps = dispatch => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withRedux(initStore, null, mapDispatchToProps)(
|
export default withApollo(
|
||||||
withApollo(Index)
|
withRedux(initStore, null, mapDispatchToProps)(Index)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue