mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
chore: bump dev dependencies (#1955)
* chore: bump devdeps * upd infima url
This commit is contained in:
parent
72792a1e5c
commit
3be2e86546
18 changed files with 505 additions and 497 deletions
|
@ -90,10 +90,7 @@ export function genComponentName(pagePath: string): string {
|
|||
return 'index';
|
||||
}
|
||||
const pageHash = docuHash(pagePath);
|
||||
const pascalCase = _.flow(
|
||||
_.camelCase,
|
||||
_.upperFirst,
|
||||
);
|
||||
const pascalCase = _.flow(_.camelCase, _.upperFirst);
|
||||
return pascalCase(pageHash);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue