Web:Login: delete useless code
This commit is contained in:
parent
440e80e9d3
commit
1dd4f2b42d
@ -38,14 +38,7 @@ export const getScripts = (assets: assetsType): string[] | void => {
|
||||
};
|
||||
|
||||
export const loadPath = (language: string, nameSpace: string): string => {
|
||||
let path = translations?.get(language)?.get(nameSpace);
|
||||
|
||||
const splitted = path.split("/");
|
||||
const length = splitted.length;
|
||||
|
||||
path = `/${splitted[length - 3]}/${splitted[length - 2]}/${
|
||||
splitted[length - 1]
|
||||
}`;
|
||||
const path = translations?.get(language)?.get(nameSpace);
|
||||
|
||||
return path;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user