From be7112c123c783f9839868b0106b1ce93c4dd2a3 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 25 Apr 2023 11:52:42 -0500 Subject: [PATCH] hub/sagas: fix not dispatching 100% progress We were calling the action creator without actually dispatching the action. Fixes: https://github.com/pybricks/support/issues/1044 --- src/hub/sagas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hub/sagas.ts b/src/hub/sagas.ts index 09ceb8d7..ec6dfb12 100644 --- a/src/hub/sagas.ts +++ b/src/hub/sagas.ts @@ -284,7 +284,7 @@ function* handleDownloadAndRun(action: ReturnType): Gener } } - didProgressDownload(1); + yield* put(didProgressDownload(1)); const writeUserMetaMessageId2 = nextMessageId();