1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

put Vault last on page title

This commit is contained in:
Fedor Katurov 2025-02-07 07:25:59 +07:00
parent 9e79cba7bf
commit 6f2715a9ae

View file

@ -1,4 +1,4 @@
/** just combines title elements to form title of the page */
export const getPageTitle = (...props: string[]): string => {
return ['Убежище', ...props].filter((it) => it.trim()).join(' • ');
return [...props, 'Убежище'].filter((it) => it.trim()).join(' • ');
};