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:
Sébastien Lorber 2020-11-27 10:24:43 +01:00 committed by GitHub
parent 0f13780045
commit 22c06c2775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -16,5 +16,5 @@ export default function useAlgoliaContextualFacetFilters() {
const tagsFilter = tags.map((tag) => `docusaurus_tag:${tag}`);
return [...(locale ? languageFilter : []), tagsFilter];
return [languageFilter, tagsFilter];
}