Fix error in getPathnameParts()
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user