From 057ae5e2d64c31fe74d7d7a433201186160f596f Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:12:46 +0530 Subject: [PATCH] chore: simplify --- src/client/theme-default/components/VPAlgoliaSearchBox.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client/theme-default/components/VPAlgoliaSearchBox.vue b/src/client/theme-default/components/VPAlgoliaSearchBox.vue index 712849fb..31610845 100644 --- a/src/client/theme-default/components/VPAlgoliaSearchBox.vue +++ b/src/client/theme-default/components/VPAlgoliaSearchBox.vue @@ -34,11 +34,7 @@ type DocSearchProps = Parameters[0] function initialize(userOptions: DefaultTheme.AlgoliaSearchOptions) { // note: multi-lang search support is removed since the theme // doesn't support multiple locales as of now. - const options = Object.assign< - {}, - DefaultTheme.AlgoliaSearchOptions, - DocSearchProps - >({}, userOptions, { + const options = Object.assign<{}, {}, DocSearchProps>({}, userOptions, { container: '#docsearch', navigator: {