diff --git a/src/lab/QuestCubeLab.tsx b/src/lab/QuestCubeLab.tsx index 759f2f2..ca42d09 100644 --- a/src/lab/QuestCubeLab.tsx +++ b/src/lab/QuestCubeLab.tsx @@ -246,7 +246,7 @@ const QuestCubeLab = () => { const [xrSupported] = useState(() => typeof navigator !== "undefined" && "xr" in navigator && - typeof (navigator as Navigator & { xr?: { isSessionSupported?: Function } }).xr?.isSessionSupported === "function" + typeof (navigator as Navigator & { xr?: { isSessionSupported?: (mode: string) => Promise } }).xr?.isSessionSupported === "function" ); const posRef = useRef(cubePos);