Fix error in getPathnameParts()

This commit is contained in:
Maks Snegov 2024-04-26 22:35:51 -07:00
parent 2070cdb30a
commit 4a506de6fe

View File

@ -86,7 +86,7 @@ function getPathnameParts(pathname) {
let pathParts = pathname.split('/');
let locale = pathParts[1] || 'en-us';
let visaType = pathParts[2] || 'niv';
return { locale, visaType };
return [ locale, visaType ];
}
function isSignInPage() {