diff --git a/src/theme/DocVersionBanner/index.jsx b/src/theme/DocVersionBanner/index.jsx index 7e56e19ce..de35137e1 100644 --- a/src/theme/DocVersionBanner/index.jsx +++ b/src/theme/DocVersionBanner/index.jsx @@ -9,8 +9,9 @@ import { } from "@docusaurus/plugin-content-docs/client"; import { ThemeClassNames } from "@docusaurus/theme-common"; import { - useDocsPreferredVersion -} from "@docusaurus/theme-common/internal"; + useDocsPreferredVersion, + useDocsVersion, +} from '@docusaurus/plugin-content-docs/client'; function UnreleasedVersionLabel({ siteTitle, versionMetadata }) { return (