mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Connected to the Apollo Store 🎉
This commit is contained in:
@@ -8,14 +8,9 @@ export default createStore(
|
||||
...mainReducer,
|
||||
apollo: client.reducer()
|
||||
}),
|
||||
{
|
||||
apollo: {
|
||||
data: {
|
||||
loading: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
{},
|
||||
compose(
|
||||
applyMiddleware(client.middleware()),
|
||||
applyMiddleware(thunk),
|
||||
window.devToolsExtension && window.devToolsExtension()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user