diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js
index 5ebce0b33ca1f05cd94fee5f5427f02ac1d4a4b4..02b124b6498669e45e23d168365dcd019ea65207 100644
--- a/src/utils/vr-caps-detect.js
+++ b/src/utils/vr-caps-detect.js
@@ -62,12 +62,7 @@ export async function getAvailableVREntryTypes() {
       : VR_DEVICE_AVAILABILITY.maybe
     : VR_DEVICE_AVAILABILITY.no;
 
-  let displays = [];
-
-  if (isWebVRCapableBrowser) {
-    displays = await navigator.getVRDisplays();
-  }
-
+  const displays = isWebVRCapableBrowser ? await navigator.getVRDisplays() : [];
   const isFirefoxReality = window.orientation === 0 && "buildID" in navigator && displays.length > 0;
   const isInHMD = isOculusBrowser || isFirefoxReality;