mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-13 00:03:57 +02:00
fix(v2): fix search (#3829)
* fix little search facet typo * revert Alexey change, as we are sure a site always has a locale
This commit is contained in:
parent
0f13780045
commit
22c06c2775
2 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ export default function useAlgoliaContextualFacetFilters() {
|
|||
|
||||
const tagsFilter = tags.map((tag) => `docusaurus_tag:${tag}`);
|
||||
|
||||
return [...(locale ? languageFilter : []), tagsFilter];
|
||||
return [languageFilter, tagsFilter];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue