1
0
Fork 0
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:
Rasool Dastoori 2018-03-25 20:10:25 +04:30 committed by Tim Neutkens
parent 7cf9199a5f
commit 603b90ce02

View file

@ -50,6 +50,6 @@ const mapDispatchToProps = dispatch => {
} }
} }
export default withRedux(initStore, null, mapDispatchToProps)( export default withApollo(
withApollo(Index) withRedux(initStore, null, mapDispatchToProps)(Index)
) )