Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat: add isCastReady as dep for receiver init

httpjamesm1a137ddc162e
diff --git a/apps/cast/src/pages/index.tsx b/apps/cast/src/pages/index.tsx
index a355082c24..b1d9affa43 100644
--- a/apps/cast/src/pages/index.tsx
+++ b/apps/cast/src/pages/index.tsx
@@ -65,7 +65,7 @@ export default function PairingMode() {
return () => {
context.stop();
};
- }, [cast]);
+ }, [cast, isCastReady]);
const messageReceiveHandler = (message: {
type: string;