From 28c1d99d00deb7e6ce98e8def72b6488fe9ba2de Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Wed, 17 Aug 2022 08:40:07 -0500 Subject: [PATCH] Update Layout.tsx --- apps/www/layouts/Layout.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/www/layouts/Layout.tsx b/apps/www/layouts/Layout.tsx index 4b455673d77..b284e0ba113 100644 --- a/apps/www/layouts/Layout.tsx +++ b/apps/www/layouts/Layout.tsx @@ -1,15 +1,11 @@ import { MDXProvider } from '@mdx-js/react' -import { useRouter } from 'next/router' - +import { NextSeo } from 'next-seo' import Image from 'next/image' import Avatar from '~/components/Avatar' import CodeBlock from '~/components/CodeBlock/CodeBlock' import ImageGrid from '~/components/ImageGrid' -import Quote from '~/components/Quote' - -// plugins for next-mdx-remote import DefaultLayout from '~/components/Layouts/Default' -import { NextSeo } from 'next-seo' +import Quote from '~/components/Quote' const ignoreClass = 'ignore-on-export' @@ -53,10 +49,6 @@ function getComponents(type: any) { } export default function ContentsLayout({ context }: any) { - const router = useRouter() - - console.log(context) - return (