Pārlūkot izejas kodu

fix lint errors

master
Shawn 3 gadus atpakaļ
vecāks
revīzija
2ac410df00
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      react/features/app/getRouteToRender.web.js

+ 2
- 1
react/features/app/getRouteToRender.web.js Parādīt failu

@@ -80,7 +80,8 @@ function _getWebWelcomePageRoute(state) {
80 80
         }
81 81
     } else {
82 82
         // Web: if the welcome page is disabled, go directly to a random room.
83
-        let url = new URL(window.location.href);
83
+        const url = new URL(window.location.href);
84
+
84 85
         url.pathname += generateRoomWithoutSeparator();
85 86
         route.href = url.href;
86 87
     }

Notiek ielāde…
Atcelt
Saglabāt