From 00b5aea9eb164584910f856246de616a89e1e94f Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 23 Nov 2023 09:55:35 +0530 Subject: [PATCH] docs: consistent example with js/ts --- docs/guide/extending-default-theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/extending-default-theme.md b/docs/guide/extending-default-theme.md index dcbe66ad..b7b29bde 100644 --- a/docs/guide/extending-default-theme.md +++ b/docs/guide/extending-default-theme.md @@ -116,7 +116,7 @@ import DefaultTheme from 'vitepress/theme' export default { extends: DefaultTheme, - async enhanceApp({ app }) { + enhanceApp({ app }) { // register your custom global components app.component('MyGlobalComponent' /* ... */) }