Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Tweak

Manav Rathi06450a0ce0a6
diff --git a/web/packages/base/components/Head.tsx b/web/packages/base/components/Head.tsx
index 0373bd3aea..3ada4645a5 100644
--- a/web/packages/base/components/Head.tsx
+++ b/web/packages/base/components/Head.tsx
@@ -11,20 +11,15 @@ interface CustomHeadProps {
*
* This assumes the existence of `public/images/favicon.png`.
*/
-export const CustomHead: React.FC<CustomHeadProps> = ({ title }) => {
- return (
- <Head>
- <title>{title}</title>
- <link rel="icon" href="/images/favicon.png" type="image/png" />
- <meta
- name="description"
- content="Ente - end-to-end encrypted cloud with open-source apps"
- />
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1"
- />
- <meta name="referrer" content="strict-origin-when-cross-origin" />
- </Head>
- );
-};
+export const CustomHead: React.FC<CustomHeadProps> = ({ title }) => (
+ <Head>
+ <title>{title}</title>
+ <link rel="icon" href="/images/favicon.png" type="image/png" />
+ <meta
+ name="description"
+ content="Ente - end-to-end encrypted cloud with open-source apps"
+ />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="referrer" content="strict-origin-when-cross-origin" />
+ </Head>
+);