chore: nits

This commit is contained in:
endiliey 2018-08-23 23:36:39 +08:00
parent e13e1bffb4
commit 1f2c8a39a9
4 changed files with 7 additions and 8 deletions

View file

@ -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