From bd71bce450fcf120bbd5abbfc8c649174df0796b Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sun, 17 Aug 2025 20:28:19 +0200 Subject: [PATCH] fixes compilation --- frontend/src/contexts/SpotifyIframe.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/contexts/SpotifyIframe.tsx b/frontend/src/contexts/SpotifyIframe.tsx index 25fae8e..3b3b83a 100644 --- a/frontend/src/contexts/SpotifyIframe.tsx +++ b/frontend/src/contexts/SpotifyIframe.tsx @@ -13,7 +13,7 @@ export const useSpotifyIframe = () => { document.body.appendChild(script); script.onload = () => { - window.onSpotifyIframeApiReady = (IFrameAPI) => { + (window as any).onSpotifyIframeApiReady = (IFrameAPI) => { const element = document.getElementById(elementId); const options = { width: 400,