[web][cast] Minor fixes
This commit is contained in:
parent
fdc7cf6ad8
commit
8e5d5c4e41
2 changed files with 3 additions and 2 deletions
|
@ -93,9 +93,10 @@ export default function PairingMode() {
|
|||
}
|
||||
|
||||
return () => {
|
||||
console.log("stopping cast context");
|
||||
context.stop();
|
||||
};
|
||||
}, [cast, isCastReady]);
|
||||
}, [cast]);
|
||||
|
||||
const messageReceiveHandler = (message: {
|
||||
type: string;
|
||||
|
|
|
@ -38,7 +38,7 @@ const load = (() => {
|
|||
|
||||
export const useCastReceiver = () => {
|
||||
const [receiver, setReceiver] = useState<Receiver | null>({
|
||||
cast: null
|
||||
cast: null,
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue