Clean up remaining 'Matrix Video Chat' branding
This commit is contained in:
		
					parent
					
						
							
								5b5c649b49
							
						
					
				
			
			
				commit
				
					
						b1083baacf
					
				
			
		
					 2 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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]);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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",
 | 
			
		||||
        },
 | 
			
		||||
      }),
 | 
			
		||||
    ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue