From 7988f477b7ae9e454f32eb2106713adce8cb961b Mon Sep 17 00:00:00 2001 From: Sanjaiyan Parthipan <88643231+sanjaiyan-dev@users.noreply.github.com> Date: Sat, 9 Jul 2022 00:38:38 +0530 Subject: [PATCH 1/2] Adding --- beta/src/components/Seo.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beta/src/components/Seo.tsx b/beta/src/components/Seo.tsx index 595215751bd..ccd744c084a 100644 --- a/beta/src/components/Seo.tsx +++ b/beta/src/components/Seo.tsx @@ -4,7 +4,7 @@ import React from 'react'; import Head from 'next/head'; -import {withRouter, Router} from 'next/router'; +import { withRouter, Router } from 'next/router'; export interface SeoProps { title: string; @@ -21,11 +21,12 @@ export const Seo = withRouter( image = '/logo-og.png', router, children, - }: SeoProps & {router: Router}) => ( + }: SeoProps & { router: Router }) => (
{/* DEFAULT */} + {title != null &&