diff --git a/src/usePageTitle.ts b/src/usePageTitle.ts index 1516ecc..0e1b1a0 100644 --- a/src/usePageTitle.ts +++ b/src/usePageTitle.ts @@ -18,8 +18,7 @@ import { useEffect } from "react"; export function usePageTitle(title: string): void { useEffect(() => { - const productName = - import.meta.env.VITE_PRODUCT_NAME || "Matrix Video Chat"; + const productName = import.meta.env.VITE_PRODUCT_NAME || "Element Call"; document.title = title ? `${productName} | ${title}` : productName; }, [title]); } diff --git a/vite.config.js b/vite.config.js index 3ed9636..772bce6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => { svgrPlugin(), htmlTemplate.default({ data: { - title: env.VITE_PRODUCT_NAME || "Matrix Video Chat", + title: env.VITE_PRODUCT_NAME || "Element Call", }, }), ],