diff --git a/components/Chromecast.tsx b/components/Chromecast.tsx index 3e5c8546..6eb1d2a9 100644 --- a/components/Chromecast.tsx +++ b/components/Chromecast.tsx @@ -34,6 +34,7 @@ export const Chromecast: React.FC = ({ useEffect(() => { (async () => { if (!discoveryManager) { + console.warn("DiscoveryManager is not initialized"); return; } @@ -64,6 +65,7 @@ export const Chromecast: React.FC = ({ }} {...props} > + ); @@ -77,6 +79,7 @@ export const Chromecast: React.FC = ({ }} {...props} > + );