Fix error in getPathnameParts()
This commit is contained in:
parent
2070cdb30a
commit
4a506de6fe
@ -86,7 +86,7 @@ function getPathnameParts(pathname) {
|
|||||||
let pathParts = pathname.split('/');
|
let pathParts = pathname.split('/');
|
||||||
let locale = pathParts[1] || 'en-us';
|
let locale = pathParts[1] || 'en-us';
|
||||||
let visaType = pathParts[2] || 'niv';
|
let visaType = pathParts[2] || 'niv';
|
||||||
return { locale, visaType };
|
return [ locale, visaType ];
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSignInPage() {
|
function isSignInPage() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user