From c0edbe47eb2cddbc8e64e2e8f91fc26f0c537ac6 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Sat, 5 Aug 2023 23:17:15 +0100 Subject: [PATCH] Added force-dynamic caching to SpotifyPlayer --- components/ui/SpotifyPlayer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/ui/SpotifyPlayer.tsx b/components/ui/SpotifyPlayer.tsx index 43076ef..e85e3c2 100644 --- a/components/ui/SpotifyPlayer.tsx +++ b/components/ui/SpotifyPlayer.tsx @@ -188,6 +188,8 @@ Song.Skeleton = function SongSkeleton() { ) } +export const dynamic = 'force-dynamic' + export function SpotifyPlayer(): ReactElement | null { const currentlyPlaying = usePlayerState('currently-playing') const lastPlayed = usePlayerState('last-played')