From 6d5a970a55df2d22a1d41ce60b645e589bae1efc Mon Sep 17 00:00:00 2001 From: Sunghyun Cho Date: Sat, 10 Aug 2024 02:48:28 +0900 Subject: [PATCH] fix: Update import path for useDocusaurusContext --- .../src/client/useAlgoliaContextualFacetFilters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-search-algolia/src/client/useAlgoliaContextualFacetFilters.ts b/packages/docusaurus-theme-search-algolia/src/client/useAlgoliaContextualFacetFilters.ts index 45a334f479e2..440c5c53cb50 100644 --- a/packages/docusaurus-theme-search-algolia/src/client/useAlgoliaContextualFacetFilters.ts +++ b/packages/docusaurus-theme-search-algolia/src/client/useAlgoliaContextualFacetFilters.ts @@ -7,7 +7,7 @@ import {DEFAULT_SEARCH_TAG} from '@docusaurus/theme-common/internal'; import {useDocsContextualSearchTags} from '@docusaurus/plugin-content-docs/client'; -import useDocusaurusContext from '@docusaurus/core/src/client/exports/useDocusaurusContext'; +import useDocusaurusContext from '@docusaurus/core/lib/client/exports/useDocusaurusContext'; function useSearchTags() { // only docs have custom search tags per version