Skip to content

Commit

Permalink
fix(beers): correct load more error event
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrk committed Dec 2, 2020
1 parent 38343b8 commit 215485d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/beers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const beers: StoreonModule<State, Events> = (store) => {
}
})

store.on(BEER_EVENTS.LOAD_ERROR, ({ beers }, error) => {
store.on(BEER_EVENTS.LOAD_MORE_ERROR, ({ beers }, error) => {
if (__DEV__) console.log(error)

return {
Expand Down

0 comments on commit 215485d

Please sign in to comment.