Skip to content

Commit

Permalink
fix: stopLoading on complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuliya Maksimchyk committed May 26, 2020
1 parent 79dde38 commit 806accf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/demand-bloc-quotes/src/QuotesBloc.ts
Expand Up @@ -193,7 +193,9 @@ export class QuotesBloc {

this.pollingSubscription = poller.subscribe({
next: handleQuotesLoaded,
complete: this.stopLoading,
complete: () => {
this.stopLoading()
},
})

return
Expand Down

0 comments on commit 806accf

Please sign in to comment.