From 2ac410df00b7942a2dc8ccce226c918e017704bc Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 25 Jan 2022 16:55:13 +0000 Subject: [PATCH] fix lint errors --- react/features/app/getRouteToRender.web.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/features/app/getRouteToRender.web.js b/react/features/app/getRouteToRender.web.js index 20e051a267..416720cd39 100644 --- a/react/features/app/getRouteToRender.web.js +++ b/react/features/app/getRouteToRender.web.js @@ -80,7 +80,8 @@ function _getWebWelcomePageRoute(state) { } } else { // Web: if the welcome page is disabled, go directly to a random room. - let url = new URL(window.location.href); + const url = new URL(window.location.href); + url.pathname += generateRoomWithoutSeparator(); route.href = url.href; }