Skip to content

Commit

Permalink
fix: lodash/chain requires default import
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 committed Mar 8, 2021
1 parent 2232ec3 commit bac1d64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/docusaurus-theme-classic/src/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import {
Footer,
} from '@docusaurus/theme-common';

import keyBy from 'lodash/keyBy';
import chain from 'lodash/chain';
import flatten from 'lodash/flatten';
import {keyBy, chain, flatten} from 'lodash';
import {mergeTranslations} from '@docusaurus/utils';

function getNavbarTranslationFile(navbar: Navbar): TranslationFileContent {
Expand Down

0 comments on commit bac1d64

Please sign in to comment.