Skip to content

Commit

Permalink
fix currentMediaItem
Browse files Browse the repository at this point in the history
  • Loading branch information
twnlink authored Jan 3, 2024
1 parent f6443b7 commit 006f0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windowObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ try {
intercept("playbackControls/MEDIA_PRODUCT_TRANSITION", ([{ mediaProduct }]) => {
Object.assign(
currentMediaItem,
store.getState().content.mediaItems.get(mediaProduct.productId),
store.getState().content.mediaItems[mediaProduct.productId],
);
const vibrantColor = currentMediaItem?.item?.album?.vibrantColor;

Expand Down

0 comments on commit 006f0a6

Please sign in to comment.