harbassan / spicetify-apps

A collection of spicetify custom apps to improve your spotify experience.
396 stars 24 forks source link

Spicetify.ReactComponent.Cards Default undefined #72

Closed Bergbok closed 6 months ago

Bergbok commented 6 months ago

From Spotify V1.2.34> it seems like it got removed. Either that or this is a Spicetify issue.

Which means the following line in spotify_card.tsx doesn't work anymore: const { Default: Card, CardImage } = Cards;

This results in Minified React error #130 when rendering SpotifyCard.

V1.2.33: image V1.2.34: image

Not sure how to go about fixing it.

harbassan commented 6 months ago

Spotify just changed the look of their cards, wouldn't be surprised if they either removed it or we need to change the hook. Will do some looking though.

harbassan commented 6 months ago

Yep it was the hook that needed changing. Made the fix. https://github.com/spicetify/spicetify-cli/pull/2942