quinnz commited on
Commit
79896e9
·
1 Parent(s): 0453799

fix build error

Browse files
Files changed (3) hide show
  1. app/[lang]/[...slug]/page.tsx +1 -1
  2. lib/mdx.ts +1 -1
  3. next.config.mjs +1 -1
app/[lang]/[...slug]/page.tsx CHANGED
@@ -13,4 +13,4 @@ export default async function DocPage({ params }: { params: { lang: string; slug
13
  )
14
 
15
  return <Page />
16
- }
 
13
  )
14
 
15
  return <Page />
16
+ }
lib/mdx.ts CHANGED
@@ -7,4 +7,4 @@ export function getMdxPath(lang: string, slug: string[]) {
7
 
8
  export function mdxExists(mdxPath: string) {
9
  return fs.existsSync(mdxPath)
10
- }
 
7
 
8
  export function mdxExists(mdxPath: string) {
9
  return fs.existsSync(mdxPath)
10
+ }
next.config.mjs CHANGED
@@ -11,4 +11,4 @@ export default withMDX({
11
  config.resolve.alias['@'] = path.resolve(__dirname)
12
  return config
13
  },
14
- })
 
11
  config.resolve.alias['@'] = path.resolve(__dirname)
12
  return config
13
  },
14
+ })