Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Mar 19, 2023
1 parent 7014461 commit 59ab607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineDocsearchConfig } from '@vuepress/plugin-docsearch/client'
import { docsearchConfig } from '@vuepress/plugin-docsearch/client'

defineDocsearchConfig({
docsearchConfig({
appId: '34YFD9IUQ2',
apiKey: '9a9058b8655746634e01071411c366b8',
indexName: 'vuepress',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DocsearchOptions } from '../../shared/index.js'

export const docsearchKey: InjectionKey<DocsearchOptions> = Symbol('docsearch')

export const defineDocsearchConfig = (options: DocsearchOptions): void =>
export const docsearchConfig = (options: DocsearchOptions): void =>
defineClientData(docsearchKey, options)

export const useDocsearchOptions = (): DocsearchOptions => {
Expand Down

0 comments on commit 59ab607

Please sign in to comment.