Browse Source

remove unneeded mdx provider option

pull/8215/head
Jeff Escalante 4 years ago
parent
commit
9f5624a1a6
  1. 2
      website/layouts/api.jsx
  2. 2
      website/layouts/docs.jsx
  3. 2
      website/layouts/intro.jsx

2
website/layouts/api.jsx

@ -5,7 +5,7 @@ import Head from 'next/head'
import Link from 'next/link'
import { createMdxProvider } from '@hashicorp/nextjs-scripts/lib/providers/docs'
const MDXProvider = createMdxProvider({ product: 'consul', preset: 'oss' })
const MDXProvider = createMdxProvider({ product: 'consul' })
function ApiDocsLayoutWrapper(pageMeta) {
function ApiDocsLayout(props) {

2
website/layouts/docs.jsx

@ -5,7 +5,7 @@ import Head from 'next/head'
import Link from 'next/link'
import { createMdxProvider } from '@hashicorp/nextjs-scripts/lib/providers/docs'
const MDXProvider = createMdxProvider({ product: 'consul', preset: 'oss' })
const MDXProvider = createMdxProvider({ product: 'consul' })
function DocsLayoutWrapper(pageMeta) {
function DocsLayout(props) {

2
website/layouts/intro.jsx

@ -5,7 +5,7 @@ import Head from 'next/head'
import Link from 'next/link'
import { createMdxProvider } from '@hashicorp/nextjs-scripts/lib/providers/docs'
const MDXProvider = createMdxProvider({ product: 'consul', preset: 'oss' })
const MDXProvider = createMdxProvider({ product: 'consul' })
function IntroLayoutWrapper(pageMeta) {
function IntroLayout(props) {

Loading…
Cancel
Save