From c028aaa86eae03a85445ae8d7daed2fd7a19b56c Mon Sep 17 00:00:00 2001 From: Eivind Date: Mon, 28 Mar 2022 13:27:50 +0200 Subject: [PATCH] revert: "fix: don't wait for firebase when updating playback info" This reverts commit 16d59097b272bf06743b2571a75c1e93610d9f5b. --- src/sagas/nowPlaying.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sagas/nowPlaying.ts b/src/sagas/nowPlaying.ts index 3231c88..848716e 100644 --- a/src/sagas/nowPlaying.ts +++ b/src/sagas/nowPlaying.ts @@ -24,8 +24,8 @@ function* watchPlayback () { const body = yield* call(() => spotifyFetch('me/player')) if (body) { const action = Actions.updatePlayback(body as Playback) - yield* put(action) yield* call(onPlaybackUpdated, action) + yield* put(action) timeout = initialTimeout } } catch (e) {