mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-11 07:12:29 +02:00
chore: nits
This commit is contained in:
parent
e13e1bffb4
commit
1f2c8a39a9
4 changed files with 7 additions and 8 deletions
|
@ -35,8 +35,8 @@ async function genRoutesConfig({docsData = [], pagesData = []}) {
|
|||
|
||||
return (
|
||||
`import React from 'react';\n` +
|
||||
`import Loading from '@theme/Loading';\n` +
|
||||
`import Loadable from 'react-loadable';\n` +
|
||||
`import Loading from '@theme/Loading';\n` +
|
||||
`import Docs from '@theme/Docs';\n` +
|
||||
`import NotFound from '@theme/NotFound';\n` +
|
||||
`const routes = [${docsData.map(genDocsRoute).join(',')},${pagesData
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue