From 3e18c5c860bfd0d951d72bc9f76d55729fafbd4a Mon Sep 17 00:00:00 2001 From: Joshua Fernandes Date: Wed, 18 Sep 2024 07:38:55 +1000 Subject: [PATCH] update theme component path (#604) --- src/theme/DocVersionBanner/index.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 (