Merge pull request #697 from robintown/rename

Clean up remaining 'Matrix Video Chat' branding
This commit is contained in:
Robin 2022-11-02 07:45:59 -04:00 committed by GitHub
commit 99dbcffcaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -18,8 +18,7 @@ import { useEffect } from "react";
export function usePageTitle(title: string): void { export function usePageTitle(title: string): void {
useEffect(() => { useEffect(() => {
const productName = const productName = import.meta.env.VITE_PRODUCT_NAME || "Element Call";
import.meta.env.VITE_PRODUCT_NAME || "Matrix Video Chat";
document.title = title ? `${productName} | ${title}` : productName; document.title = title ? `${productName} | ${title}` : productName;
}, [title]); }, [title]);
} }

View file

@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => {
svgrPlugin(), svgrPlugin(),
htmlTemplate.default({ htmlTemplate.default({
data: { data: {
title: env.VITE_PRODUCT_NAME || "Matrix Video Chat", title: env.VITE_PRODUCT_NAME || "Element Call",
}, },
}), }),
], ],