From 50f7a1fa0c9badd80c409ecbe1c35926fc0e3696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Fri, 24 Jul 2020 17:20:53 +0200 Subject: [PATCH] fix(v2): apply default `appId` to Algolia search This default `appId` hints the browser that the website will load data from this Algolia application, resulting in a faster search. --- .../src/theme/SearchBar/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js index 7596f5ce13d6..2307874b9d35 100644 --- a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js +++ b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js @@ -139,7 +139,7 @@ See: https://v2.docusaurus.io/docs/search/#using-algolia-docsearch`); return null; } - return ; + return ; } export default SearchBar;