mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Update Layout.tsx
This commit is contained in:
1 parent
ecedacf809
commit
28c1d99d00
1 file changed
+2
-10
@@ -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 (
|
||||
<DefaultLayout>
|
||||
<NextSeo {...context.meta} />
|
||||
|
||||
Reference in new issue
Block a user