Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const servicesModule = {
middleware: ({ getState, dispatch }) => {
const container = createContainer()

return next => action => {
return next => async action => {
if (action.type === BOOT) {
dispatch({
type: CONTAINER_INIT,
Expand All @@ -23,7 +23,7 @@ const servicesModule = {
getService,
}

return next(action(servicesApi))
return next(await action(servicesApi))
}

return next(action)
Expand Down