Skip to content

Commit

Permalink
revert: "fix: don't wait for firebase when updating playback info"
Browse files Browse the repository at this point in the history
This reverts commit 16d5909.
  • Loading branch information
hyldmo committed Apr 5, 2022
1 parent e91de45 commit c028aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sagas/nowPlaying.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function* watchPlayback () {
const body = yield* call(() => spotifyFetch<SpotifyApi.CurrentPlaybackResponse>('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) {
Expand Down

0 comments on commit c028aaa

Please sign in to comment.