1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 14:16:41 +07:00
vault-frontend/src/utils/ssr/getPageTitle.ts
2025-01-24 17:51:59 +07:00

4 lines
206 B
TypeScript

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