mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 04:50:36 +00:00
Go back to using jsx for config
This commit is contained in:
parent
3a33284694
commit
d910b08c06
2 changed files with 2 additions and 5 deletions
|
@ -1,9 +1,8 @@
|
|||
import React from "react"
|
||||
|
||||
import { useRouter } from "next/router"
|
||||
import type { DocsThemeConfig } from "nextra-theme-docs"
|
||||
|
||||
const config: DocsThemeConfig = {
|
||||
export default {
|
||||
docsRepositoryBase: "https://github.com/lune-org/docs/blob/main",
|
||||
useNextSeoProps() {
|
||||
const { asPath } = useRouter()
|
||||
|
@ -36,5 +35,3 @@ const config: DocsThemeConfig = {
|
|||
</>
|
||||
),
|
||||
}
|
||||
|
||||
export default config
|
|
@ -15,6 +15,6 @@
|
|||
"isolatedModules": true,
|
||||
"jsx": "preserve"
|
||||
},
|
||||
"include": ["next-env.d.ts", "theme.config.tsx", "**/*.ts", "**/*.tsx"],
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue