-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nextup can have undefined parent id
Next up was called for each library, while the function itself overwrote the whole state. This resulted in nextUp being populated by the latest library fetched. I reduced it to a single call cause removing the parentId gets us the classic Next Up experience from web. Other improvements: - Merge promises together - Better function names and null checks
- Loading branch information
1 parent
041b51a
commit 08bf6fb
Showing
1 changed file
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters